Mercurial > public > ssdt-docker
view postgres/Dockerfile @ 11:cf23acedd048
add backup volume to data container
author | smith@nwoca.org |
---|---|
date | Wed, 16 Dec 2015 15:23:26 +0000 |
parents | 0cdc167e6319 |
children | 82b5ed864aee |
line wrap: on
line source
# # Docker file to create postgres image for ssdt applications FROM postgres:9.4.4 MAINTAINER Dave Smith smith@nwoca.org ENV PGDATA /var/lib/postgresql/data/pgdata ENV DB_NAME database ENV DB_USER dbuser ENV DB_PASS dbpassword VOLUME "/var/log/postgresql" COPY setupDatabase.sh /docker-entrypoint-initdb.d/setupDatabase.sh RUN chmod 755 /docker-entrypoint-initdb.d/setupDatabase.sh