passwd0/create
Paul Liverman III ee896cd1de incomplete v1
2018-09-03 10:38:10 -07:00

9 lines
329 B
Bash
Executable File

#!/usr/bin/env bash
docker build -t passwd0 .
docker network create passwd-db
docker run -d --restart always --name passwd-db --network passwd-db \
-v "$PWD/db":/var/lib/postgresql/data postgres:10.5-alpine
docker run -d --restart always --name passwd0 --network passwd-db \
passwd0:latest
docker network connect passwd0 web