8 lines
175 B
Docker
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
|