Fix: Remove port mappings for Coolify/Traefik compatibility

This commit is contained in:
richardtekula
2025-11-11 16:29:16 +01:00
parent e1b95c613d
commit feb583b66c

View File

@@ -14,8 +14,8 @@ services:
volumes:
- postgres_data:/var/lib/postgresql/data
- ./init-scripts:/docker-entrypoint-initdb.d
ports:
- "5432:5432"
# ports:
# - "5432:5432" # Commented for Coolify - not needed with Traefik
networks:
- ebook_network
healthcheck:
@@ -60,8 +60,13 @@ services:
# Server
HOST: 0.0.0.0
PORT: 8000
ports:
- "8000:8000"
# ports:
# - "8000:8000" # Commented for Coolify - Traefik handles routing
expose:
- "8000" # Internal exposure only, Traefik will route to this
labels:
- "coolify.managed=true"
- "coolify.type=application"
volumes:
# Pre persistenciu logov a translation súborov
- backend_logs:/app/admin-backend/logs