From 9d5495b4ab86f6cc5cf95555d295f991832c1265 Mon Sep 17 00:00:00 2001 From: Paul Liverman III Date: Sun, 9 Sep 2018 21:43:11 -0700 Subject: [PATCH] better formatting / undo fixes that didn't fix --- run | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/run b/run index 8263028..461cec9 100755 --- a/run +++ b/run @@ -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