chore: change docker mapped ports to prevent conflicts with local development

This commit is contained in:
Do Siki
2026-04-27 01:06:44 +02:00
parent 6beb2a5149
commit c02017e30f
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ services:
target: runner # Use runner stage for production (smaller size, no dev dependencies)
container_name: mozdit-app-prod
ports:
- "3000:3000"
- "8080:3000" # Host port 8080 elkerüli a lokális npm dev (3000) összeakadást
environment:
- NODE_ENV=production
# MONGODB and LOKI URLs should be updated to point to production services
@@ -35,7 +35,7 @@ services:
image: mongo:7.0
container_name: mozdit-mongodb-prod
ports:
- "27017:27017" # Dokploy esetén érdemes lehet ezt bezárni és csak hálózaton belül kommunikálni
- "27018:27017" # Host port 27018 elkerüli az összeakadást a lokális Mongo-val
environment:
- MONGO_INITDB_ROOT_USERNAME=${MONGO_ROOT_USER:-admin}
- MONGO_INITDB_ROOT_PASSWORD=${MONGO_ROOT_PASSWORD:-password123}