Dockerfile: Ensure all python packages are available and patronictl is configured

This commit is contained in:
Feike Steenbergen
2015-12-22 15:30:11 +01:00
parent 64e09f7ca7
commit 47007c3331
2 changed files with 12 additions and 2 deletions
+5
View File
@@ -79,6 +79,11 @@ then
ETCD_CLUSTER="127.0.0.1:4001"
fi
mkdir -p ~postgres/.config/patroni
cat > ~postgres/.config/patroni/patronictl.yaml <<__EOF__
{dcs_api: 'etcd://${ETCD_CLUSTER}', namespace: /service/}
__EOF__
cat > /patroni/postgres.yml <<__EOF__
ttl: &ttl 30