docker-compose.yaml aktualisiert
This commit is contained in:
+4
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user