Remove host port bindings to fix Coolify deployment allocation errors

This commit is contained in:
Mohan Ki
2026-07-27 14:11:55 +05:30
parent 6c27bc094d
commit 1447f64b42
-8
View File
@@ -5,8 +5,6 @@ services:
build: build:
context: ./client context: ./client
dockerfile: Dockerfile dockerfile: Dockerfile
ports:
- "4000:4000"
environment: environment:
- PORT=4000 - PORT=4000
depends_on: depends_on:
@@ -16,8 +14,6 @@ services:
build: build:
context: ./api context: ./api
dockerfile: Dockerfile dockerfile: Dockerfile
ports:
- "4001:4001"
environment: environment:
- PORT=4001 - PORT=4001
- PGHOST=postgres - PGHOST=postgres
@@ -37,15 +33,11 @@ services:
- POSTGRES_USER=postgres - POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres - POSTGRES_PASSWORD=postgres
- POSTGRES_DB=ckqr - POSTGRES_DB=ckqr
ports:
- "5432:5432"
volumes: volumes:
- postgres_data:/var/lib/postgresql/data - postgres_data:/var/lib/postgresql/data
redis: redis:
image: redis:7-alpine image: redis:7-alpine
ports:
- "6379:6379"
volumes: volumes:
- redis_data:/data - redis_data:/data