Rename cluster name to demo (#1000)

* Assign hostname to haproxy container
* Tune vim config
This commit is contained in:
Alexander Kukushkin
2019-03-11 10:57:26 +01:00
committed by GitHub
parent 13f7aede61
commit 9e19b43869
4 changed files with 11 additions and 3 deletions
+3
View File
@@ -37,6 +37,9 @@ RUN set -ex \
\
# haproxy dummy config
&& echo 'global\n stats socket /run/haproxy/admin.sock mode 660 level admin' > /etc/haproxy/haproxy.cfg \
\
# vim config
&& echo 'syntax on\nfiletype plugin indent on\nset mouse-=a\nautocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab' > /etc/vim/vimrc.local \
\
# Prepare postgres/patroni/haproxy environment
&& mkdir -p $PGHOME/.config/patroni /patroni /run/haproxy \