docker-consul-backup/Dockerfile

8 lines
175 B
Docker
Raw Permalink Normal View History

2023-11-01 18:23:49 +00:00
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