fix: add Traefik port label for backend service

Traefik defaults to port 80 when no loadbalancer port is specified.
Backend listens on 8001, causing the trendyol-api domain to timeout.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
furkanyigit34
2026-03-08 01:56:53 +03:00
parent bc9af71d17
commit e3bed0a999

View File

@@ -37,6 +37,9 @@ services:
ports:
- "8010:8001"
labels:
- "traefik.http.services.backend.loadbalancer.server.port=8001"
environment:
# Python environment
PYTHONUNBUFFERED: 1