dt0/create
2018-09-09 16:31:27 -07:00

9 lines
297 B
Bash
Executable File

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