This repository has been archived on 2020-09-29. You can view files and clone it, but cannot push or open issues or pull requests.
traefik.autonomic.zone/compose.yml
Renovate Bot 8cbe7788a1
All checks were successful
continuous-integration/drone/pr Build is passing
Update traefik Docker tag to v2.3.0
2020-09-24 07:01:49 +00:00

49 lines
1.2 KiB
YAML

---
version: "3.8"
services:
traefik:
image: "traefik:2.3.0"
ports:
- "80:80"
- "443:443"
- "8080:8080"
- "2222:2222"
volumes:
- "/var/run/docker.sock:/var/run/docker.sock"
- "letsencrypt:/etc/letsencrypt"
configs:
- source: traefik_yml
target: /etc/traefik/traefik.yml
- source: file_provider
target: /etc/traefik/file-provider.yml
networks:
- proxy
deploy:
update_config:
failure_action: rollback
order: start-first
labels:
- "traefik.enable=true"
- "traefik.http.services.traefik.loadbalancer.server.port=web"
- "traefik.http.routers.traefik.rule=Host(`traefik.autonomic.zone`)"
- "traefik.http.routers.traefik.entrypoints=web-secure"
- "traefik.http.routers.traefik.tls.certresolver=production"
- "traefik.http.routers.traefik.service=api@internal"
- "traefik.http.routers.traefik.middlewares=keycloak@file"
networks:
proxy:
external: true
configs:
traefik_yml:
name: traefik_traefik_yml_v1
file: traefik.yml
file_provider:
name: traefik_file_provider_v1
file: file-provider.yml
volumes:
letsencrypt: