diff --git a/docker-compose.yaml b/docker-compose.yaml index 3724786..9f62632 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -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