chore: removed open port 8000 in compose

This commit is contained in:
Ward Truyen 2024-07-25 11:25:19 +02:00
parent c05fa77e73
commit 6b9f37a4f8

View File

@ -3,15 +3,11 @@
services: services:
sampleweb: sampleweb:
build: . build: .
ports: # ports:
- "8000:3000" # - "8000:3000"
labels: labels:
- "traefik.http.routers.sampleweb.rule=Host(`truyen.network`)" - "traefik.http.routers.sampleweb.rule=Host(`ward.truyen.network`) && PathPrefix(`/`)"
- "traefik.http.routers.sampleweb.entrypoints=web" - "traefik.http.routers.sampleweb.entrypoints=websecure"
# - "traefik.http.routers.sampleweb.tls=true"
# - "traefik.http.routers.sampleweb.tls.certresolver=letsencrypt"
- "traefik.enable=true" - "traefik.enable=true"
# whoami:
# image: traefik/whoami
# labels:
# - "traefik.http.routers.whoami.rule=Host(`whoami.docker.localhost`)"
# - "traefik.enable=true"