#!/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 web passwd0