mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
support linking with official postgres image
This commit is contained in:
parent
9782b573e8
commit
16104fb6e8
@ -138,6 +138,11 @@ elif [ -n "${POSTGRESQL_PORT_5432_TCP_ADDR}" ]; then
|
||||
DB_HOST=${DB_HOST:-${POSTGRESQL_PORT_5432_TCP_ADDR}}
|
||||
DB_PORT=${DB_PORT:-${POSTGRESQL_PORT_5432_TCP_PORT}}
|
||||
|
||||
# support for linked official postgres image
|
||||
DB_USER=${DB_USER:-${POSTGRESQL_ENV_POSTGRES_USER}}
|
||||
DB_PASS=${DB_PASS:-${POSTGRESQL_ENV_POSTGRES_PASS}}
|
||||
DB_NAME=${DB_NAME:-${DB_USER}}
|
||||
|
||||
# support for linked sameersbn/postgresql image
|
||||
DB_USER=${DB_USER:-${POSTGRESQL_ENV_DB_USER}}
|
||||
DB_PASS=${DB_PASS:-${POSTGRESQL_ENV_DB_PASS}}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user