Files
ai-crm/deploy/config.example.json
T
2026-10-21 23:23:48 +08:00

160 lines
3.7 KiB
JSON

{
"currentEnv": "test",
"services": {
"frontend": {
"test": {
"server": {
"host": "192.168.3.101",
"port": 22,
"username": "root",
"deployPath": "/opt/1panel/www/sites",
"authType": "key",
"keyPath": "/home/qinghua/.ssh/ecom-deploy"
},
"port": 80,
"staticDeploy": true
},
"pre": {
"server": {
"host": "192.168.3.101",
"port": 22,
"username": "root",
"deployPath": "/opt/1panel/www/sites",
"authType": "key",
"keyPath": "/home/qinghua/.ssh/ecom-deploy"
},
"port": 80,
"staticDeploy": true
},
"prod": {
"server": {
"host": "frontend.prod.com",
"port": 22,
"username": "root",
"deployPath": "/opt/1panel/www/sites",
"authType": "password"
},
"port": 80,
"staticDeploy": true
}
},
"backend": {
"test": {
"server": {
"host": "192.168.3.101",
"port": 22,
"username": "root",
"deployPath": "/opt",
"authType": "key",
"keyPath": "/home/qinghua/.ssh/ecom-deploy"
},
"port": 8101,
"springProfile": "test",
"dbUrl": "",
"redisUrl": ""
},
"pre": {
"server": {
"host": "192.168.3.101",
"port": 22,
"username": "root",
"deployPath": "/opt",
"authType": "key",
"keyPath": "/home/qinghua/.ssh/ecom-deploy"
},
"port": 8102,
"springProfile": "pre",
"dbUrl": "",
"redisUrl": ""
},
"prod": {
"server": {
"host": "backend.prod.com",
"port": 22,
"username": "root",
"deployPath": "/opt",
"authType": "password"
},
"port": 8103,
"springProfile": "prod",
"dbUrl": "",
"redisUrl": ""
}
},
"license": {
"test": {
"server": {
"host": "192.168.3.100",
"port": 22,
"username": "root",
"deployPath": "/opt",
"authType": "key",
"keyPath": "/home/qinghua/.ssh/ecom-deploy"
},
"port": 3100,
"nodeEnv": "test",
"licenseDbUrl": ""
},
"pre": {
"server": {
"host": "192.168.3.100",
"port": 22,
"username": "root",
"deployPath": "/opt",
"authType": "key",
"keyPath": "/home/qinghua/.ssh/ecom-deploy"
},
"port": 3100,
"nodeEnv": "pre",
"licenseDbUrl": ""
},
"prod": {
"server": {
"host": "license.prod.com",
"port": 22,
"username": "root",
"deployPath": "/opt",
"authType": "password"
},
"port": 3100,
"nodeEnv": "prod",
"licenseDbUrl": ""
}
},
"agent": {
"test": {
"server": {
"host": "192.168.3.101",
"port": 22,
"username": "root",
"deployPath": "/opt",
"authType": "key",
"keyPath": "/home/qinghua/.ssh/ecom-deploy"
},
"port": 8201
},
"pre": {
"server": {
"host": "192.168.3.101",
"port": 22,
"username": "root",
"deployPath": "/opt",
"authType": "key",
"keyPath": "/home/qinghua/.ssh/ecom-deploy"
},
"port": 8202
},
"prod": {
"server": {
"host": "agent.prod.com",
"port": 22,
"username": "root",
"deployPath": "/opt",
"authType": "password"
},
"port": 8203
}
}
}
}