mirror of
https://github.com/optim-enterprises-bv/patroni.git
synced 2026-01-10 17:41:26 +00:00
The newest versions of docker-compose want to have some values double-quoted in the env file while old versions failing to process such files. The solution is simple, move some of the parameters to the `docker-compose.yml` and rely on anchors for inheritance. Since the main idea behind env files was to keep "secret" information off the main YAML we also get rid of any non-secret stuff, mainly located in the etcd.env.
9 lines
284 B
Bash
9 lines
284 B
Bash
PATRONI_RESTAPI_USERNAME=admin
|
|
PATRONI_RESTAPI_PASSWORD=admin
|
|
PATRONI_SUPERUSER_USERNAME=postgres
|
|
PATRONI_SUPERUSER_PASSWORD=postgres
|
|
PATRONI_REPLICATION_USERNAME=replicator
|
|
PATRONI_REPLICATION_PASSWORD=replicate
|
|
PATRONI_admin_PASSWORD=admin
|
|
PATRONI_admin_OPTIONS=createdb,createrole
|