1
0
mirror of https://github.com/garraflavatra/docker-volume-s3-backup.git synced 2025-07-19 18:18:02 +00:00
This commit is contained in:
Elliott Shugerman
2019-12-01 21:49:48 -07:00
parent 5bd571cdf1
commit c036e13ef4
2 changed files with 23 additions and 23 deletions

View File

@ -24,6 +24,7 @@ if [ -z "$POSTGRES_DATABASE" ]; then
fi
if [ -z "$POSTGRES_HOST" ]; then
# TODO: what is this?
if [ -n "$POSTGRES_PORT_5432_TCP_ADDR" ]; then
POSTGRES_HOST=$POSTGRES_PORT_5432_TCP_ADDR
POSTGRES_PORT=$POSTGRES_PORT_5432_TCP_PORT