chore: added traefik.enable=true label

This commit is contained in:
Ward Truyen 2024-07-23 18:25:20 +02:00
parent 1fd1f49125
commit e2928b6c8b

View File

@ -1,5 +1,5 @@
version: '3' version: '3'
services: services:
web: web:
build: . build: .
@ -7,8 +7,10 @@ services:
- "8000:3000" - "8000:3000"
labels: labels:
- "traefik.http.routers.web.rule=Host(`ward.truyen.network`)" - "traefik.http.routers.web.rule=Host(`ward.truyen.network`)"
- "traefik.enable=true"
whoami:
image: traefik/whoami # whoami:
labels: # image: traefik/whoami
- "traefik.http.routers.whoami.rule=Host(`whoami.docker.localhost`)" # labels:
# - "traefik.http.routers.whoami.rule=Host(`whoami.docker.localhost`)"
# - "traefik.enable=true"