Fix: Remove port mappings for Coolify/Traefik compatibility
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user