mirror of
https://github.com/nethunterzist/trendyol-analiz
synced 2026-07-04 10:37:04 +00:00
fix: add Traefik port label for frontend service
Ne yaptık: - Frontend service'ine traefik.http.services.frontend.loadbalancer.server.port=80 label'ı eklendi Neden yaptık: - Traefik frontend container'ın hangi portta çalıştığını bilmiyordu (502 Bad Gateway) - Backend'de bu label vardı ama frontend'de eksikti Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -38,6 +38,7 @@ services:
|
|||||||
- "8010:8001"
|
- "8010:8001"
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
|
- "traefik.docker.network=coolify"
|
||||||
- "traefik.http.services.backend.loadbalancer.server.port=8001"
|
- "traefik.http.services.backend.loadbalancer.server.port=8001"
|
||||||
# SSE streaming support - flush immediately, don't buffer
|
# SSE streaming support - flush immediately, don't buffer
|
||||||
- "traefik.http.services.backend.loadbalancer.responseForwarding.flushInterval=100ms"
|
- "traefik.http.services.backend.loadbalancer.responseForwarding.flushInterval=100ms"
|
||||||
@@ -91,6 +92,9 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "3010:80"
|
- "3010:80"
|
||||||
|
|
||||||
|
labels:
|
||||||
|
- "traefik.http.services.frontend.loadbalancer.server.port=80"
|
||||||
|
|
||||||
depends_on:
|
depends_on:
|
||||||
backend:
|
backend:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|||||||
Reference in New Issue
Block a user