Skip to content
Snippets Groups Projects
Commit 2fa46b1c authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

Makes confd use watch flag. closes #22

parent 233490d6
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ RUN \ ...@@ -12,7 +12,7 @@ RUN \
ADD confd /etc/confd ADD confd /etc/confd
RUN \ RUN \
wget https://github.com/kelseyhightower/confd/releases/download/v0.6.3/confd-0.6.3-linux-amd64 -O confd && \ wget https://github.com/kelseyhightower/confd/releases/download/v0.7.1/confd-0.7.1-linux-amd64 -O confd && \
chmod +x confd chmod +x confd
RUN \ RUN \
...@@ -21,4 +21,4 @@ RUN \ ...@@ -21,4 +21,4 @@ RUN \
VOLUME ["/etc/confd/", "/etc/haproxy"] VOLUME ["/etc/confd/", "/etc/haproxy"]
ENTRYPOINT ["/confd"] ENTRYPOINT ["/confd"]
CMD ["-interval=60", "-node=172.17.42.1:4001"] CMD ["-interval=60", "-node=172.17.42.1:4001", "-watch=true"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment