better formatting / undo fixes that didn't fix

This commit is contained in:
Paul Liverman III 2018-09-09 21:43:11 -07:00
parent 77a76c6d95
commit 9d5495b4ab

6
run
View File

@ -3,13 +3,13 @@ docker stop passwd0
docker rm passwd0
docker stop passwd-db
docker rm passwd-db
docker build -t passwd0 .
docker network create web
docker network create passwd-db
docker build -t passwd0 .
docker run -d --restart always --name passwd-db --network passwd-db \
-v "$PWD/db":/var/lib/postgresql/data postgres:10.5-alpine
sleep 5
sleep 5 # give Postgres time to start
docker run -d --restart always --name passwd0 --network passwd-db \
passwd0:latest
sleep 5
docker network connect web passwd0