mirror of
https://github.com/timokz/flutter-vienna-hackathon-25.git
synced 2025-11-08 18:44:20 +01:00
server: docker: fix traefik not being able to discover server
tl;dr: Since the server is in both the postgres instance's isolated "backend" network and the public-facing "docker-net", traefik unfortunately happened to decide to use the "backend" network for its proxying purposes. This led to the server not being reachable at all. This commit fixes that by explicitly telling traefik which network to use. Signed-off-by: Max R. Carrara <max@aequito.sh>
This commit is contained in:
parent
68e7a9720a
commit
9d1a61885c
1 changed files with 1 additions and 0 deletions
|
|
@ -62,6 +62,7 @@ services:
|
||||||
- "traefik.http.routers.wien-talks-web.entrypoints=secure"
|
- "traefik.http.routers.wien-talks-web.entrypoints=secure"
|
||||||
- "traefik.http.routers.wien-talks-web.service=wien-talks-web-service"
|
- "traefik.http.routers.wien-talks-web.service=wien-talks-web-service"
|
||||||
- "traefik.http.services.wien-talks-web-service.loadbalancer.server.port=${SERVERPOD_WEB_SERVER_PORT}"
|
- "traefik.http.services.wien-talks-web-service.loadbalancer.server.port=${SERVERPOD_WEB_SERVER_PORT}"
|
||||||
|
- "traefik.docker.network=docker-net"
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
db:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue