More hacking towards a working install
This commit is contained in:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user