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