annotate postgres/Dockerfile @ 7:72f33ca6aa5b
add admin password and custom CATALINA_OPS
author |
smith@nwoca.org |
date |
Mon, 14 Sep 2015 13:06:10 +0100 |
parents |
0cdc167e6319 |
children |
82b5ed864aee |
rev |
line source |
3
|
1 #
|
|
2 # Docker file to create postgres image for ssdt applications
|
|
3
|
|
4 FROM postgres:9.4.4
|
|
5
|
|
6 MAINTAINER Dave Smith smith@nwoca.org
|
|
7
|
|
8 ENV PGDATA /var/lib/postgresql/data/pgdata
|
|
9 ENV DB_NAME database
|
|
10 ENV DB_USER dbuser
|
|
11 ENV DB_PASS dbpassword
|
|
12
|
|
13 VOLUME "/var/log/postgresql"
|
|
14
|
|
15 COPY setupDatabase.sh /docker-entrypoint-initdb.d/setupDatabase.sh
|
|
16
|
|
17 RUN chmod 755 /docker-entrypoint-initdb.d/setupDatabase.sh |