1
0
mirror of https://github.com/docker-library/postgres.git synced 2025-11-17 13:02:40 +03:00
Commit Graph

15 Commits

Author SHA1 Message Date
Tianon Gravi
2f0f505894 Apply update.sh 2017-07-27 16:54:40 -07:00
Tianon Gravi
54053ad27a Adjust "/var/run/postgresql" permissions for arbitrary-user support 2017-05-19 10:46:58 -07:00
Tianon Gravi
bc44222ff8 Add explicit "--build" to our "./configure" invocations 2017-05-10 10:19:28 -07:00
Pahaz Blinov
3d4e5e9f64 Simplify docker-entrypoint.sh append line 2017-04-06 14:32:45 -07:00
Tianon Gravi
913bc48bfd Update order to match other blocks and move "--xlogdir" handling down to where it'll be invoked regardless of our "root" status 2017-03-20 09:54:06 -07:00
Daniel Dent
89530f6020 POSTGRES_INITDB_XLOGDIR to specify xlog log dir
Adds support for the POSTGRES_INITDB_XLOGDIR environment variable, which specifies where the postgres transaction log is stored.

For some use cases, being able to place the transaction log on a different volume is useful.

Existing support for providing flags via $POSTGRES_INITDB_ARGS is inadequate because of the need to create and chown/chmod the directory prior to running initdb.
2017-02-28 14:05:26 -08:00
Tianon Gravi
d7accc9c8c Add one more minor tweak on top of #253 2017-01-19 16:04:43 -08:00
Tianon Gravi
3706d4c456 Allow arbitrary --user values (mostly)
One special case is that `initdb` _requires_ the current user to exist in `/etc/passwd`, but running PostgreSQL itself does not require that.
2017-01-19 14:59:34 -08:00
Tianon Gravi
b68154ed79 Use "/var/run/postgresql" consistently (and apply Debian's change of the default socket path to Alpine also) 2017-01-19 14:24:15 -08:00
Joe Ferguson
4f3238cf60 Run update.sh 2016-12-12 10:42:05 -08:00
Tianon Gravi
5e7d985129 Apply change to all variants via update.sh 2016-12-06 12:55:40 -08:00
Tianon Gravi
edd455e5b1 Add "file_env" support, especially for Docker secrets
This adds explicit support for the following:

- `POSTGRES_DB_FILE`
- `POSTGRES_INITDB_ARGS_FILE`
- `POSTGRES_PASSWORD_FILE`
- `POSTGRES_USER_FILE`
2016-11-21 13:44:36 -08:00
Joe Ferguson
2a95274301 Use gosu postgres when writing to hba.cnf so that drop-cap dac_override works 2016-10-25 15:35:16 -07:00
sixcorners
e2f07374b3 Add "mkdir -p /run/postgresql" to docker-entrypoint.sh.
This allows the container to run with a tmpfs /run.
2016-10-20 00:06:16 -05:00
Tianon Gravi
0f910e3495 Add 9.6~beta1-1.pgdg80+1 2016-05-12 14:01:41 -07:00