automatically dump ssl certificates
This commit is contained in:
parent
8a86a1743b
commit
0b7d170ce8
1 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue