From 0b7d170ce80b5a0ca79c195126af43b24ff0fe62 Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 1 Dec 2019 08:21:43 +0100 Subject: [PATCH] automatically dump ssl certificates --- docker-compose.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 72df37a..e4d842a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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