automatically dump ssl certificates

This commit is contained in:
paul 2019-12-01 08:21:43 +01:00 committed by Hive
parent 8a86a1743b
commit 0b7d170ce8

View file

@ -35,6 +35,18 @@ services:
networks:
- "web"
dumper:
image: ldez/traefik-certs-dumper:latest
volumes:
- "./cert/:/cert/"
- "/data/ssl/:/ssl/"
command: >
file --watch --source /cert/acme.json --version v2 --domain-subdir
--crt-name=fullchain --crt-ext=.pem
--key-name=privkey --key-ext=.pem
--dest /ssl
networks:
web:
driver: bridge