Add 'scripts/postgres/launch-docker.sh'

pull/4/head
drunkendog 2022-12-22 18:21:20 +00:00
parent f43aebf4e7
commit d1868c2a39
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
. ./postgres.conf
docker run -d --net main_subnet --ip 172.30.18.1 \
-e TZ=America/New_York \
--name=postgres \
-e POSTGRES_PASSWORD=$POSTGRES_PASSWORD \
-v /opt/postgres/data:/var/lib/postgresql/data \
--restart unless-stopped \
postgres