Fix: Remove port mappings for Coolify/Traefik compatibility
This commit is contained in:
@@ -14,8 +14,8 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- postgres_data:/var/lib/postgresql/data
|
- postgres_data:/var/lib/postgresql/data
|
||||||
- ./init-scripts:/docker-entrypoint-initdb.d
|
- ./init-scripts:/docker-entrypoint-initdb.d
|
||||||
ports:
|
# ports:
|
||||||
- "5432:5432"
|
# - "5432:5432" # Commented for Coolify - not needed with Traefik
|
||||||
networks:
|
networks:
|
||||||
- ebook_network
|
- ebook_network
|
||||||
healthcheck:
|
healthcheck:
|
||||||
@@ -60,8 +60,13 @@ services:
|
|||||||
# Server
|
# Server
|
||||||
HOST: 0.0.0.0
|
HOST: 0.0.0.0
|
||||||
PORT: 8000
|
PORT: 8000
|
||||||
ports:
|
# ports:
|
||||||
- "8000:8000"
|
# - "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:
|
volumes:
|
||||||
# Pre persistenciu logov a translation súborov
|
# Pre persistenciu logov a translation súborov
|
||||||
- backend_logs:/app/admin-backend/logs
|
- backend_logs:/app/admin-backend/logs
|
||||||
|
|||||||
Reference in New Issue
Block a user