mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 02:39:19 +08:00
feat: 新增部署脚本
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
{
|
||||
"currentEnv": "test",
|
||||
"services": {
|
||||
"frontend": {
|
||||
"test": {
|
||||
"server": { "host": "192.168.3.100", "port": 22, "username": "root", "deployPath": "/var/www/ecom-frontend", "authType": "password" },
|
||||
"port": 80,
|
||||
"extractDir": "/var/www/ecom-frontend"
|
||||
},
|
||||
"pre": {
|
||||
"server": { "host": "192.168.3.100", "port": 22, "username": "root", "deployPath": "/var/www/ecom-frontend", "authType": "password" },
|
||||
"port": 80,
|
||||
"extractDir": "/var/www/ecom-frontend"
|
||||
},
|
||||
"production": {
|
||||
"server": { "host": "frontend.prod.com", "port": 22, "username": "root", "deployPath": "/var/www/ecom-frontend", "authType": "password" },
|
||||
"port": 80,
|
||||
"extractDir": "/var/www/ecom-frontend"
|
||||
}
|
||||
},
|
||||
"backend": {
|
||||
"test": {
|
||||
"server": { "host": "192.168.3.100", "port": 22, "username": "root", "deployPath": "/opt/ecom-backend", "authType": "password" },
|
||||
"port": 8080,
|
||||
"springProfile": "test",
|
||||
"dbUrl": "",
|
||||
"redisUrl": ""
|
||||
},
|
||||
"pre": {
|
||||
"server": { "host": "192.168.3.100", "port": 22, "username": "root", "deployPath": "/opt/ecom-backend", "authType": "password" },
|
||||
"port": 8080,
|
||||
"springProfile": "staging",
|
||||
"dbUrl": "",
|
||||
"redisUrl": ""
|
||||
},
|
||||
"production": {
|
||||
"server": { "host": "backend.prod.com", "port": 22, "username": "root", "deployPath": "/opt/ecom-backend", "authType": "password" },
|
||||
"port": 8080,
|
||||
"springProfile": "prod",
|
||||
"dbUrl": "",
|
||||
"redisUrl": ""
|
||||
}
|
||||
},
|
||||
"license": {
|
||||
"test": {
|
||||
"server": { "host": "192.168.3.100", "port": 22, "username": "root", "deployPath": "/opt/ecom-license", "authType": "password" },
|
||||
"port": 3100,
|
||||
"nodeEnv": "test",
|
||||
"licenseDbUrl": ""
|
||||
},
|
||||
"pre": {
|
||||
"server": { "host": "192.168.3.100", "port": 22, "username": "root", "deployPath": "/opt/ecom-license", "authType": "password" },
|
||||
"port": 3100,
|
||||
"nodeEnv": "pre",
|
||||
"licenseDbUrl": ""
|
||||
},
|
||||
"production": {
|
||||
"server": { "host": "license.prod.com", "port": 22, "username": "root", "deployPath": "/opt/ecom-license", "authType": "password" },
|
||||
"port": 3100,
|
||||
"nodeEnv": "production",
|
||||
"licenseDbUrl": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user