docker-compose.yaml aktualisiert

This commit is contained in:
2026-06-04 19:15:45 +00:00
parent 58f8d6b270
commit 70d9f60850
+4 -2
View File
@@ -3,13 +3,15 @@ services:
environment:
- DOCKER_API_VERSION=1.47
# DOCKER_CLIENT_VERSION removed — not a valid Traefik env var
network_mode: host
image: traefik:3.6 # pinned version instead of :latest
container_name: traefik
restart: unless-stopped
security_opt:
- no-new-privileges:true
# ports: not needed with network_mode: host
ports:
- "80:80"
- "443:443"
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- /etc/traefik/traefik.yaml:/etc/traefik/traefik.yml