Add traefik/docker-compose.yml

This commit is contained in:
lasse 2025-07-09 09:46:11 +00:00
commit 1c686ff4a2

View File

@ -0,0 +1,20 @@
services:
traefik:
image: traefik:v3
container_name: traefik
restart: unless-stopped
environment:
- TZ=Europe/Berlin
networks:
- frontend
ports:
- 80:80 # HTTP entryPoints
- 443:443 # HTTPS entryPoints
- 8080:8080 # Dashbaord WebGui
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro # Docker socket to watch for Traefik
- ./traefik.yml:/traefik.yml:ro # Traefik config file
- ./certs:/certs # Docker volume to store the acme file for the Certifactes
networks:
frontend:
name: frontend