Commit Graph

8587 Commits

Author SHA1 Message Date
Sameer Naik 189a7e92a8 correctly apply ownership to `/data` and `/logs` volumes
`chown` does not seem to follow symlinks.
2015-10-27 14:49:06 +05:30
Sameer Naik b30e1202c7 use the `entrypoint.sh` script from the base image 2015-10-04 14:33:55 +05:30
Sameer Naik 1570f55638 the base image prints the welcome page by default 2015-10-04 14:33:44 +05:30
Sameer Naik 0612aebc66 replace use of `gosu` with `s6-setuidgid` 2015-10-04 14:32:45 +05:30
Sameer Naik 32c3bd6a3e added circuit breaker logic for frequent and repeated failures 2015-10-04 14:32:45 +05:30
Sameer Naik 0b6a75cb52 do not start postgres and logging services if user specifies a command 2015-10-04 14:32:45 +05:30
Sameer Naik 9f99f0a37a configure postgresql as a s6 service 2015-10-04 14:32:40 +05:30
Sameer Naik 29f5f59b3f created `rootfs/` directory structure 2015-10-01 20:59:25 +05:30
Sameer Naik 2e31136d83 fix `installer.run.sha256` with busybox `sha256sum` applet 2015-09-15 15:04:56 +05:30
Sameer Naik 17aa4e849b help.txt generated with help_generation tool 2015-08-15 11:56:58 +05:30
Sameer Naik c9cb4a8385 tests: identation fixes 2015-08-15 10:52:03 +05:30
Sameer Naik 088b9a6c6e remove tty requirement for tests in CI 2015-08-15 09:34:11 +05:30
Sameer Naik b596ffdb63 remove the config files generated by `initdb` at database initialization 2015-08-12 11:53:04 +05:30
Sameer Naik 2614cb8be9 populate configuration templates in `conf.defaults` at `post-install` 2015-08-12 11:52:29 +05:30
Sameer Naik 20327c7452 do not move `postgresql.auto.conf` to `conf` volume 2015-08-12 11:49:34 +05:30
Sameer Naik a72915f127 do not create symlinks to config files 2015-08-12 11:47:55 +05:30
Sameer Naik 157a3f91ca fix shebang 2015-08-12 11:45:10 +05:30
Sameer Naik 73b23d08af readme: cleanups 2015-08-11 12:49:04 +05:30
Sameer Naik 37bb30a457 added README 2015-08-11 12:47:27 +05:30
Sameer Naik 59725356e3 use path to `postgresql.conf` in `conf` volume in `PROGRAM_OPTIONS` 2015-08-11 12:33:43 +05:30
Sameer Naik 1eb940dad0 added `conf` volume 2015-08-10 23:42:16 +05:30
Sameer Naik 7f344811f2 fix typo 2015-08-10 23:28:41 +05:30
Sameer Naik f97638d156 tests: "Data gets generated in data and logs if bind mounted in the host" 2015-08-10 23:18:07 +05:30
Sameer Naik 9a8f8225e6 tests: "All the volumes exposed" 2015-08-10 23:15:22 +05:30
Sameer Naik d60f22808a tests: "If host mounted, password and settings are preserved after deletion" 2015-08-10 23:13:03 +05:30
Sameer Naik 574237beb5 tests: "User and password settings are preserved after restart" 2015-08-10 23:10:37 +05:30
Sameer Naik 44f7753886 "Create custom user and database with password" 2015-08-10 23:10:37 +05:30
Sameer Naik 199f410130 tests: "Can't create a custom user without database" 2015-08-10 23:10:37 +05:30
Sameer Naik 2f7811a1ef tests: "Custom database created" 2015-08-10 23:10:37 +05:30
Sameer Naik 3ee474a745 tests: "User postgres is superuser" 2015-08-10 23:10:37 +05:30
Sameer Naik 3bfc8feaf5 tests: "User postgres created with password" 2015-08-10 23:10:37 +05:30
Sameer Naik 7dfde6e416 tests: "Port 5432 exposed and accepting external connections" 2015-08-10 23:10:37 +05:30
Sameer Naik 132ba9bbf8 `chown` the `data` directory before calling `initdb`
since `initdb` is launched as the `postgres` user, we need to ensure
that the `data` directory is owned by the `postgres` user
2015-08-10 23:09:41 +05:30
Sameer Naik d22b84c38a do `export LD_LIBRARY_PATH` in the `postgres` command detection block 2015-08-10 22:42:10 +05:30
Sameer Naik 624abc2c5c tail postgresql logs 2015-08-10 14:40:54 +05:30
Sameer Naik 2a04c83d9c log `postgresql.log` in `logs` volume 2015-08-08 22:39:52 +05:30
Sameer Naik f7451f4319 initial creation 2015-08-08 22:39:48 +05:30