parent
877a528df2
commit
158537ab52
10
compose.yml
10
compose.yml
|
@ -158,14 +158,14 @@ services:
|
|||
image: ldez/traefik-certs-dumper:v2.8.1
|
||||
entrypoint: sh -c '
|
||||
apk add jq
|
||||
; while ! [ -e /traefik/production-acme.json ]
|
||||
|| ! [ `jq ".production.Certificates | length" /traefik/production-acme.json` != 0 ]; do
|
||||
; while ! [ -e /traefik/${ACME_JSON} ]
|
||||
|| ! [ `jq ".production.Certificates | length" /traefik/${ACME_JSON}` != 0 ]; do
|
||||
sleep 1
|
||||
; done
|
||||
&& traefik-certs-dumper file --watch --source /traefik/production-acme.json
|
||||
--dest /output --domain-subdir=true --version v2'
|
||||
&& traefik-certs-dumper file --watch --source /traefik/${ACME_JSON}
|
||||
--dest /output --domain-subdir=true --version v2
|
||||
--post-hook "sh /usr/bin/certdumper_post.sh"'
|
||||
environment:
|
||||
# Make sure this is the same as the main=-domain in traefik.toml
|
||||
- DOMAIN=$WEB_DOMAIN
|
||||
volumes:
|
||||
# Folder, which contains the acme.json
|
||||
|
|
Loading…
Reference in New Issue