fix: Remove host port 80 binding in docker-compose.yml to fix Traefik port collision in Coolify
This commit is contained in:
+2
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user