Add 'scripts/postgres/launch-docker.sh'
parent
f43aebf4e7
commit
d1868c2a39
|
@ -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
|
Loading…
Reference in New Issue