Commit Graph

15 Commits

Author SHA1 Message Date
Sameer Naik a68b58aefe fix: set ssl config to off or on 2015-11-23 22:25:23 +05:30
Sameer Naik f3b18c1f1b avoid duplicate entries in configuration files. Refer #40 2015-11-23 20:46:11 +05:30
Sameer Naik b5dd975ad1 removed redundant chown of PG_CONFDIR 2015-11-15 13:02:50 +05:30
Sameer Naik 693995dd2b set PG_CONFDIR to ${PG_HOME}/${PG_VERSION}/main
Database initialization and migration tasks need to be done before
performing any configuration bits
2015-11-15 13:02:10 +05:30
Sameer Naik 7601996544 hub.docker.com now builds images from git tags. 2015-11-07 12:45:15 +05:30
Sameer Naik a443dfb2d9 Merge branch 'master' of https://github.com/sdusart/docker-postgresql into sdusart-master 2015-10-17 15:29:17 +05:30
Sameer Naik eedfc6a1c9 set DEBIAN_FRONTEND=noninteractive env setting apt-get install lines 2015-10-10 23:05:12 +05:30
Sylvain Dusart 57f7f6597c Add an option to set the locale used for database creation
Using the DB_LOCALE environment variable (set by default to C), it is now
possible to set the --locale argument that is given to the initdb command.
This enables customization of LC_COLLATE and LC_TYPE for the databases.
2015-10-03 23:49:28 +02:00
Sylvain Dusart fbc06c1604 Protect usernames and database names in "CREATE ROLE", "CREATE DATABASE" and "GRANT ALL" requests
This enables to use "-" in for usernames or database names (eg myApp-client1).
2015-10-03 21:09:39 +02:00
Sameer Naik 9ca966eb1f entrypoint.sh: chown recursively 2015-08-16 12:47:44 +05:30
Sameer Naik da0fb3dc36 entrypoint.sh: moved user mapping code to a function 2015-08-16 12:28:38 +05:30
Sameer Naik 306f915aaf entrypoint.sh: create log dir 2015-08-16 12:25:39 +05:30
Sameer Naik fd3794fa03 entrypoint.sh: moved data and run directiory creation into functions 2015-08-16 12:25:32 +05:30
Sameer Naik 3c5e076101 Dockerfile: added PG_RUNDIR variable 2015-08-16 12:12:30 +05:30
Sameer Naik 17c826882a renamed start script to entrypoint.sh 2015-08-16 11:38:25 +05:30