fix: Remove host port 80 binding in docker-compose.yml to fix Traefik port collision in Coolify

This commit is contained in:
Richard
2026-07-31 10:34:12 +02:00
parent 3cb02583b7
commit 25eeb054ce
+2 -4
View File
@@ -1,8 +1,8 @@
version: '3.8'
# Coolify & Production Ready Docker Compose Configuration
# Traefik in Coolify automatically routes traffic to the 'frontend' service on port 80.
# Container names and port bindings are intentionally managed by Coolify to avoid collisions.
# Traefik in Coolify automatically routes traffic to the 'frontend' service on port 80 via expose.
# Host port bindings (ports) are omitted to avoid host port 80 conflicts with Traefik.
services:
db:
@@ -53,8 +53,6 @@ services:
dockerfile: Dockerfile
expose:
- "80"
ports:
- "${PORT:-80}:80"
depends_on:
- backend
restart: unless-stopped