20 lines
574 B
YAML
20 lines
574 B
YAML
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 |