traefik-frontend/docker-compose.yml
2024-07-24 22:11:12 -03:00

52 lines
2.0 KiB
YAML

services:
traefik-frontend:
container_name: traefik-frontend
restart: unless-stopped
build:
context: .
dockerfile: Dockerfile
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- FLASK_ENV=development
- PUID=1000
- PGID=1000
networks:
- web
labels:
- "traefik.enable=true"
- "traefik.http.routers.home.rule=Host(`home.gederico.dynu.net`)"
- "traefik.http.routers.home.tls.certresolver=leresolver"
- "traefik.http.routers.home.entrypoints=websecure"
- "traefik.http.routers.home.middlewares=chain-authelia@file"
- "traefik.http.services.home.loadbalancer.server.port=5000"
- "traefik.http.services.home.loadbalancer.server.scheme=http"
- "traefik-frontend.http.routers.home.hidden=true"
- "traefik-frontend.http.routers.eve.group=Networking"
- "traefik-frontend.http.routers.clab.group=Networking"
- "traefik-frontend.http.routers.tm.group=Media"
- "traefik-frontend.http.routers.tm.router_name=Transmission"
- "traefik-frontend.http.routers.flexget.group=Automation"
- "traefik-frontend.http.routers.connpy.group=Development"
- "traefik-frontend.http.routers.nginx.hidden=true"
- "traefik-frontend.groups.Management.priority=1"
- "traefik-frontend.groups.Management.icon=fas fa-tools"
- "traefik-frontend.groups.Networking.priority=2"
- "traefik-frontend.groups.Networking.icon=fas fa-network-wired"
- "traefik-frontend.groups.Media.priority=3"
- "traefik-frontend.groups.Media.icon=fas fa-film"
- "traefik-frontend.groups.Development.priority=4"
- "traefik-frontend.groups.Development.icon=fas fa-laptop-code"
- "traefik-frontend.groups.Automation.priority=5"
- "traefik-frontend.groups.Automation.icon=fas fa-robot"
- "traefik-frontend.groups.Security.priority=6"
- "traefik-frontend.groups.Security.icon=fas fa-lock"
- "traefik-frontend.title=GEDERICO'S HOME"
networks:
web:
external: true