fix: Update ports to avoid conflicts with existing Docker projects

- Change Gitea port from 3000 to 3001
- Change API port from 8080 to 8082
- Change Nginx port from 80 to 8083
- Add docker-compose.override.yml for local development
- Add deployment guide for existing servers
This commit is contained in:
2026-04-19 23:00:08 +05:00
parent f1e0f6b5ef
commit 263b0c1b64
5 changed files with 305 additions and 8 deletions
+38
View File
@@ -0,0 +1,38 @@
{
"name": "nanaxe-api-server",
"version": "1.0.0",
"description": "API server for Nanaxe CRM mindmap synchronization - FastPanel compatible",
"main": "api/src/index.js",
"scripts": {
"start": "node api/src/index.js",
"dev": "nodemon api/src/index.js",
"pm2:start": "pm2 start ecosystem.config.js",
"pm2:stop": "pm2 stop ecosystem.config.js",
"pm2:restart": "pm2 restart ecosystem.config.js",
"pm2:logs": "pm2 logs nanaxe-api",
"install:deps": "npm ci --production"
},
"dependencies": {
"express": "^4.18.2",
"cors": "^2.8.5",
"helmet": "^7.1.0",
"morgan": "^1.10.0",
"jsonwebtoken": "^9.0.2",
"bcryptjs": "^2.4.3",
"axios": "^1.6.2",
"simple-git": "^3.21.0",
"fs-extra": "^11.2.0",
"uuid": "^9.0.1",
"dotenv": "^16.3.1",
"express-rate-limit": "^7.1.5",
"multer": "^1.4.5-lts.1",
"yaml": "^2.3.4",
"sqlite3": "^5.1.6"
},
"devDependencies": {
"nodemon": "^3.0.2"
},
"engines": {
"node": ">=18.0.0"
}
}