22 lines
486 B
YAML
22 lines
486 B
YAML
services:
|
|
traefik:
|
|
restart: always
|
|
image: traefik:v3.5
|
|
ports:
|
|
- 80:80
|
|
- 443:443
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
- /mnt/appdata/traefik/certs:/certs:ro
|
|
- ./traefik.yaml:/traefik.yml:ro
|
|
labels:
|
|
traefik.enable: true
|
|
traefik.http.routers.traefik.entrypoints: http
|
|
traefik.http.routers.traefik.rule: Host(`traefik.homelab.local`)
|
|
networks:
|
|
- proxy
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|