[Add] confd config files

This commit is contained in:
2024-08-26 15:58:30 +08:00
parent 1628d2b624
commit d6c1ce54d6
4 changed files with 44 additions and 2 deletions

View File

@@ -7,6 +7,7 @@ RUN dnf update -y && \
RUN curl -fsSL https://github.com/abtreece/confd/releases/download/v0.20.0/confd-v0.20.0-linux-amd64.tar.gz | tar -xz -C /usr/local/bin && \
chmod +x /usr/local/bin/confd
RUN mkdir /etc/confd
RUN mkdir /etc/confd && \
mkdir /data
CMD [ "confd","-watch", "-backend", "etcd", "-node", "http://etcd:2379"]
CMD [ "confd"]