chore: adjust traefik

This commit is contained in:
LRVT 2025-02-19 15:45:45 +01:00
parent 5c311786a1
commit 7987eb8b13
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@ services:
traefik:
image: traefik:v3.3
container_name: traefik
restart: always
restart: always
ports:
- 80:80/tcp # http
- 443:443/tcp # https
@ -29,7 +29,7 @@ services:
extra_hosts:
- host.docker.internal:172.17.0.1
networks:
- proxy
- proxy
networks:
proxy:

View File

@ -123,6 +123,7 @@ providers:
docker:
watch: true
network: proxy # Add Your Docker Network Name Here
#endpoint: "tcp://socket-proxy:2375"
# Default host rule to containername.domain.example
defaultRule: "Host(`{{ index .Labels \"com.docker.compose.service\"}}.example.com`)" # change 'example.com' to your proxy domain
exposedByDefault: false