Files
ecom-dmb/ecom-deploy/config.example.json
T
2026-07-07 23:15:10 +08:00

66 lines
2.3 KiB
JSON

{
"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": ""
}
}
}
}