docker-consul-backup/Dockerfile
vincent 8b0467e240
All checks were successful
continuous-integration/drone/push Build is passing
init consul backup
2023-11-01 19:23:49 +01:00

8 lines
175 B
Docker

FROM hashicorp/consul:latest
ENV CONSUL_HTTP_ADDR="http://consul.service.consul:8500"
ENV RETENTION=30
ENV TOKEN_AUTH=""
COPY cs-backup.sh /
CMD ./cs-backup.sh
VOLUME /backup