Skip to content

Instantly share code, notes, and snippets.

@rivernews
Last active December 8, 2019 21:06
Show Gist options
  • Save rivernews/690af82435dbdd3c4ffe5ac3f044f2a4 to your computer and use it in GitHub Desktop.
Save rivernews/690af82435dbdd3c4ffe5ac3f044f2a4 to your computer and use it in GitHub Desktop.
FROM postgres:11.5
ENV PGDATA=$DATA_VOLUME_MOUNT/pgdata
COPY ./docker-entrypoint-initdb.d/. /docker-entrypoint-initdb.d/
RUN mkdir $DATA_VOLUME_MOUNT
COPY pg_hba.conf $DATA_VOLUME_MOUNT/pg_hba.conf
COPY postgresql.conf.sample /usr/share/postgresql/postgresql.conf.sample
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment