Files
patroni/extras
Don Seiler f5927bad70 Add EnvironmentFile directive (#746)
Add an EnvironmentFile directive to read in a configuration file with environment variables. The "-" prefix means it can proceed if the file doesn't exist.

This would allow users to keep sensitive information like the SUPERUSER/REPLICATION passwords in the config file separate from a YAML file that might be deployed from source control.
2018-07-23 20:31:47 +03:00
..
2018-01-25 15:31:02 +01:00

confd

confd directory contains haproxy template files for the confd -- lightweight configuration management tool You need to copy content of confd directory into /etcd/confd and run confd service:

$ confd -prefix=/service/$PATRONI_SCOPE -backend etcd -node $PATRONI_ETCD_URL -interval=10

It will periodically update haproxy.cfg with the actual list of Patroni nodes from etcd and "reload" haproxy when it is necessary.

startup-scripts

startup-scripts directory contains startup scripts for various OSes and management tools for Patroni.