mirror of
https://github.com/wassname/docker-postgresql.git
synced 2026-07-23 12:50:27 +08:00
set PG_CONFDIR to ${PG_HOME}/${PG_VERSION}/main
Database initialization and migration tasks need to be done before performing any configuration bits
This commit is contained in:
+2
-2
@@ -7,8 +7,8 @@ ENV PG_VERSION=9.4 \
|
||||
PG_RUNDIR=/run/postgresql \
|
||||
PG_LOGDIR=/var/log/postgresql
|
||||
|
||||
ENV PG_CONFDIR="/etc/postgresql/${PG_VERSION}/main" \
|
||||
PG_BINDIR="/usr/lib/postgresql/${PG_VERSION}/bin" \
|
||||
ENV PG_BINDIR="/usr/lib/postgresql/${PG_VERSION}/bin" \
|
||||
PG_CONFDIR="${PG_HOME}/${PG_VERSION}/main" \
|
||||
PG_DATADIR="${PG_HOME}/${PG_VERSION}/main"
|
||||
|
||||
RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
|
||||
|
||||
Reference in New Issue
Block a user