More hacking towards a working install
This commit is contained in:
parent
ea35536e5d
commit
04a10bc1e1
@ -18,11 +18,19 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
deploy:
|
deploy:
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.role == manager
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "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.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.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:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
|
@ -28,7 +28,7 @@ certificatesResolvers:
|
|||||||
staging:
|
staging:
|
||||||
acme:
|
acme:
|
||||||
email: "helo@autonomic.zone"
|
email: "helo@autonomic.zone"
|
||||||
storage: "/letsencrypt/acme.json"
|
storage: "/etc/letsencrypt/acme.json"
|
||||||
caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
|
caServer: "https://acme-staging-v02.api.letsencrypt.org/directory"
|
||||||
httpChallenge:
|
httpChallenge:
|
||||||
entryPoint: "web"
|
entryPoint: "web"
|
||||||
|
Reference in New Issue
Block a user