Files
Docker-Compose/Proxy_Containers/traefik/compose.yaml
T

25 lines
679 B
YAML
Raw Normal View History

2026-02-07 17:50:36 +00:00
services:
traefik:
image: traefik:latest
container_name: traefik
2026-02-07 22:12:44 +00:00
command:
- "--providers.docker=true"
2026-02-07 17:50:36 +00:00
ports:
- "80:80"
- "443:443"
2026-02-07 17:50:36 +00:00
- "8079:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./traefik.yaml:/etc/traefik/traefik.yaml
2026-02-07 17:50:36 +00:00
networks:
- traefik
labels:
- flame.type=application # "app" works too
- flame.name=traefik
- flame.url=http://localhost:8079
- flame.icon=https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/svg/traefik-proxy.svg # optional, default is "docker"
2026-02-07 17:50:36 +00:00
restart: unless-stopped
networks:
traefik:
name: traefik_network
2026-02-07 17:50:36 +00:00
driver: bridge