fix: add explicit traefik port mapping
This commit is contained in:
parent
a1912e83d3
commit
b70d8ed597
1 changed files with 1 additions and 4 deletions
|
@ -5,10 +5,6 @@ services:
|
|||
image: crazymax/spliit:1.15.0
|
||||
depends_on:
|
||||
- db
|
||||
ports:
|
||||
- target: 3000
|
||||
published: 3000
|
||||
protocol: tcp
|
||||
environment:
|
||||
- "TZ"
|
||||
- "POSTGRES_HOST=db"
|
||||
|
@ -21,6 +17,7 @@ services:
|
|||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.spliit.rule=Host(`${DC_SPLIIT_HOSTNAME:?}`)"
|
||||
- "traefik.http.routers.spliit.entrypoints=websecure"
|
||||
- "traefik.http.services.spliit.loadbalancer.server.port=${DC_SPLIIT_PORT:?}"
|
||||
networks:
|
||||
- traefik
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue