Tweak TLS settings

This commit is contained in:
Luke Murphy 2020-04-25 12:29:53 +02:00
parent f20392ce01
commit 425f6963ed
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 6 additions and 4 deletions

View File

@ -20,8 +20,9 @@ services:
deploy:
labels:
- "traefik.enable=true"
- "traefik.http.routers.api.rule=Host(`traefik.swarm.autonomic.zone`)"
- "traefik.http.routers.api.service=api@internal"
- "traefik.http.routers.traefik.rule=Host(`traefik.swarm.autonomic.zone`)"
- "traefik.http.routers.traefik.tls=true"
- "traefik.http.routers.traefik.tls.certresolver=staging"
networks:
proxy:

View File

@ -25,9 +25,10 @@ entrypoints:
address: ":8080"
certificatesResolvers:
myresolver:
staging:
acme:
email: "helo@autonomic.zone"
storage: "/letsencrypt/acme.json"
# staging enabled, delete to go to production mode
caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
httpChallenge:
entryPoint: "web"