30 lines
795 B
YAML
30 lines
795 B
YAML
---
|
|
services:
|
|
traefik:
|
|
image: traefik:v3.6
|
|
container_name: traefik-edge
|
|
restart: unless-stopped
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
environment:
|
|
- TZ=Europe/Berlin
|
|
- CF_API_EMAIL=${CLOUDFLARE_EMAIL}
|
|
- CF_DNS_API_TOKEN=${CLOUDFLARE_API_KEY}
|
|
command:
|
|
# --- DEBUGGING AKTIVIEREN ---
|
|
- "--log.level=DEBUG" # Setzt das Log-Level auf DEBUG (Fehlersuche)
|
|
- "--accesslog=true"
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
- ./config/traefik.yml:/etc/traefik/traefik.yml:ro
|
|
- ./config/dynamic:/etc/traefik/dynamic:ro
|
|
- ./certs:/certs
|
|
networks:
|
|
- proxy
|
|
networks:
|
|
proxy:
|
|
name: proxy-edge |