Compare commits

...

2 Commits

Author SHA1 Message Date
6b9f37a4f8 chore: removed open port 8000 in compose 2024-07-25 11:25:19 +02:00
c05fa77e73 chore: fixed compose.yml labels 2024-07-24 21:40:20 +02:00

View File

@ -1,16 +1,13 @@
version: '3' #version: '3'
services: services:
web: sampleweb:
build: . build: .
ports: # ports:
- "8000:3000" # - "8000:3000"
labels: labels:
- "traefik.http.routers.web.rule=Host(`ward.truyen.network`)" - "traefik.http.routers.sampleweb.rule=Host(`ward.truyen.network`) && PathPrefix(`/`)"
- "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"