Update ports to avoid conflicts: frontend=3010, postgres=5433, redis=6380, rabbitmq=5673

This commit is contained in:
mindesbunister
2026-01-08 14:34:05 +01:00
parent 074787f067
commit 40efcff7a8
3 changed files with 7 additions and 7 deletions

View File

@@ -73,7 +73,7 @@ SECRET_KEY=CHANGE_ME_GENERATE_A_RANDOM_STRING
DEBUG=false
# Frontend
FRONTEND_PORT=3000
FRONTEND_PORT=3010
VITE_API_URL=http://localhost:8000
# =============================================================================

View File

@@ -54,7 +54,7 @@ nano .env
docker-compose up -d
# Access the dashboard
open http://localhost:3000
open http://localhost:3010
```
## 📁 Project Structure

View File

@@ -16,7 +16,7 @@ services:
- postgres_data:/var/lib/postgresql/data
- ./docker/db/init.sql:/docker-entrypoint-initdb.d/init.sql:ro
ports:
- "5432:5432"
- "5433:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-marketscanner}"]
interval: 10s
@@ -36,7 +36,7 @@ services:
volumes:
- redis_data:/data
ports:
- "6379:6379"
- "6380:6379"
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 10s
@@ -58,8 +58,8 @@ services:
volumes:
- rabbitmq_data:/var/lib/rabbitmq
ports:
- "5672:5672"
- "15672:15672" # Management UI
- "5673:5672"
- "15673:15672" # Management UI
healthcheck:
test: ["CMD", "rabbitmq-diagnostics", "check_running"]
interval: 30s
@@ -177,7 +177,7 @@ services:
container_name: marketscanner-frontend
restart: unless-stopped
ports:
- "${FRONTEND_PORT:-3000}:80"
- "${FRONTEND_PORT:-3010}:80"
depends_on:
- backend
networks: