feat: 完善部署脚本

This commit is contained in:
ah--desktop
2026-07-08 23:44:05 +08:00
parent 8af2e9194b
commit 8aee7f407d
16 changed files with 325 additions and 109 deletions
+8 -8
View File
@@ -12,7 +12,7 @@
"port": 80,
"extractDir": "/var/www/ecom-frontend"
},
"production": {
"prod": {
"server": { "host": "frontend.prod.com", "port": 22, "username": "root", "deployPath": "/var/www/ecom-frontend", "authType": "password" },
"port": 80,
"extractDir": "/var/www/ecom-frontend"
@@ -21,21 +21,21 @@
"backend": {
"test": {
"server": { "host": "192.168.3.100", "port": 22, "username": "root", "deployPath": "/opt/ecom-backend", "authType": "password" },
"port": 8080,
"port": 8101,
"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",
"port": 8102,
"springProfile": "pre",
"dbUrl": "",
"redisUrl": ""
},
"production": {
"prod": {
"server": { "host": "backend.prod.com", "port": 22, "username": "root", "deployPath": "/opt/ecom-backend", "authType": "password" },
"port": 8080,
"port": 8103,
"springProfile": "prod",
"dbUrl": "",
"redisUrl": ""
@@ -54,10 +54,10 @@
"nodeEnv": "pre",
"licenseDbUrl": ""
},
"production": {
"prod": {
"server": { "host": "license.prod.com", "port": 22, "username": "root", "deployPath": "/opt/ecom-license", "authType": "password" },
"port": 3100,
"nodeEnv": "production",
"nodeEnv": "prod",
"licenseDbUrl": ""
}
}