Skip to content

Commit

Permalink
✨ traefik v3
Browse files Browse the repository at this point in the history
  • Loading branch information
juftin committed Jul 13, 2024
1 parent 352fe26 commit 162779b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/heimdall.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ services:
traefik:
labels:
traefik.enable: true
traefik.http.routers.heimdall-rtr.rule: Host(`${DOMAIN_NAME}`,`www.${DOMAIN_NAME}`)
traefik.http.routers.heimdall-rtr.rule: Host(`${DOMAIN_NAME}`) || Host(`www.${DOMAIN_NAME}`)
traefik.http.routers.heimdall-rtr.entrypoints: websecure
traefik.http.routers.heimdall-rtr.service: heimdall-svc
traefik.http.services.heimdall-svc.loadbalancer.server.port: 80
Expand Down
4 changes: 2 additions & 2 deletions apps/traefik/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ secrets:
services:
traefik:
container_name: traefik
image: library/traefik:v2.10
image: library/traefik:v3.0
profiles: ["traefik", "core", "all"]
ports:
- published: 80
Expand Down Expand Up @@ -45,6 +45,7 @@ services:
# GLOBAL SETTINGS
- --global.checkNewVersion=true
- --global.sendAnonymousUsage=false
- --core.defaultRuleSyntax=v3
# API SETTINGS
- --api=true
- --api.dashboard=true
Expand All @@ -60,7 +61,6 @@ services:
- --providers.docker.endpoint=tcp://socket-proxy:2375
- --providers.docker.exposedByDefault=false
- --providers.docker.network=homelab_traefik
- --providers.docker.swarmMode=false
- --providers.file.directory=/rules
- --providers.file.watch=true
# ENTRYPOINTS
Expand Down

0 comments on commit 162779b

Please sign in to comment.