Commit Graph

8350 Commits

Author SHA1 Message Date
Sameer Naik
6fbfe34623 tests: Slave synchronizes with the master (delayed start) 2015-10-29 12:49:05 +05:30
Sameer Naik
19b9e10e34 tests: Replication slave can fetch replication parameters from link alias "master" 2015-10-29 12:49:05 +05:30
Sameer Naik
eb26859c84 tests: Can't setup replication slave without replication password 2015-10-29 12:49:05 +05:30
Sameer Naik
49e6f3c4af tests: Can't setup replication slave without replication user 2015-10-29 12:49:05 +05:30
Sameer Naik
bba7b9f682 tests: Can't setup replication slave without master host 2015-10-29 12:49:05 +05:30
Sameer Naik
8254d91832 tests: Can't setup replication master without replication user password 2015-10-29 12:49:05 +05:30
Sameer Naik
d1a2511783 tests: Can't setup replication master without replication user 2015-10-29 12:49:05 +05:30
Sameer Naik
9486d55c54 tests: Master database is replicated on slave 2015-10-29 12:49:05 +05:30
Sameer Naik
75446cf3d9 master user and password is not required to set up a slave replication 2015-10-29 12:49:05 +05:30
Sameer Naik
48b96baf22 do not print credentials when configured as as replication slave 2015-10-29 12:49:05 +05:30
Sameer Naik
e5483dce5a take ownership of /conf at every start 2015-10-29 12:49:05 +05:30
Sameer Naik
d75474f195 configure slave connection info at every startup 2015-10-29 12:49:05 +05:30
Sameer Naik
e9afd6a54a add support for streaming replication 2015-10-29 12:49:00 +05:30
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