fix: add explicit traefik port mapping

This commit is contained in:
Radu C. Martin 2025-03-24 08:43:57 +00:00
parent a1912e83d3
commit b70d8ed597

View file

@ -5,10 +5,6 @@ services:
image: crazymax/spliit:1.15.0 image: crazymax/spliit:1.15.0
depends_on: depends_on:
- db - db
ports:
- target: 3000
published: 3000
protocol: tcp
environment: environment:
- "TZ" - "TZ"
- "POSTGRES_HOST=db" - "POSTGRES_HOST=db"
@ -21,6 +17,7 @@ services:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.http.routers.spliit.rule=Host(`${DC_SPLIIT_HOSTNAME:?}`)" - "traefik.http.routers.spliit.rule=Host(`${DC_SPLIIT_HOSTNAME:?}`)"
- "traefik.http.routers.spliit.entrypoints=websecure" - "traefik.http.routers.spliit.entrypoints=websecure"
- "traefik.http.services.spliit.loadbalancer.server.port=${DC_SPLIIT_PORT:?}"
networks: networks:
- traefik - traefik