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:
|
networks:
|
||||||
- "web"
|
- "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:
|
networks:
|
||||||
web:
|
web:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
|
|
Loading…
Reference in a new issue