More hacking towards a working install

This commit is contained in:
Luke Murphy 2020-04-25 12:51:44 +02:00
parent ea35536e5d
commit 04a10bc1e1
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
2 changed files with 10 additions and 2 deletions

View File

@ -18,11 +18,19 @@ services:
networks:
- proxy
deploy:
placement:
constraints:
- node.role == manager
labels:
- "traefik.enable=true"
- "traefik.http.services.traefik.loadbalancer.server.port=8080"
- "traefik.http.routers.traefik.rule=Host(`traefik.swarm.autonomic.zone`)"
- "traefik.http.routers.traefik.tls=true"
- "traefik.http.routers.traefik.entrypoints=web-secured"
- "traefik.http.routers.traefik.tls.certresolver=staging"
- "traefik.http.routers.traefik.service=api@internal"
# use docker secrets once things get stable
- "traefik.http.routers.traefik.middlewares=traefik-auth"
- "traefik.http.middlewares.traefik-auth.basicauth.users=autonomic:autonomic"
networks:
proxy:

View File

@ -28,7 +28,7 @@ certificatesResolvers:
staging:
acme:
email: "helo@autonomic.zone"
storage: "/letsencrypt/acme.json"
storage: "/etc/letsencrypt/acme.json"
caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
httpChallenge:
entryPoint: "web"