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
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: