chore(config): migrate production to 3-VM infrastructure
- APISIX gateway: 192.168.80.50:9080 - App server upstream: 172.16.10.10 - PostgreSQL: 172.16.10.11 - Bind services to 0.0.0.0 for cross-VM access Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@ -8,7 +8,7 @@
|
|||||||
"server": {
|
"server": {
|
||||||
"port": "7002",
|
"port": "7002",
|
||||||
"host": "0.0.0.0",
|
"host": "0.0.0.0",
|
||||||
"host_swagger": "http://192.168.80.123:9080/service-master-data/",
|
"host_swagger": "http://192.168.80.50:9080/service-master-data/",
|
||||||
"max_body": "50mb",
|
"max_body": "50mb",
|
||||||
"max_upload": 104857600,
|
"max_upload": 104857600,
|
||||||
"morgan": "combined",
|
"morgan": "combined",
|
||||||
@ -21,7 +21,7 @@
|
|||||||
},
|
},
|
||||||
"database": {
|
"database": {
|
||||||
"engine": "postgres",
|
"engine": "postgres",
|
||||||
"host": "192.168.80.130",
|
"host": "172.16.10.11",
|
||||||
"port": "5432",
|
"port": "5432",
|
||||||
"username": "saude_production",
|
"username": "saude_production",
|
||||||
"password": "y0BZQ6of14OULYnb",
|
"password": "y0BZQ6of14OULYnb",
|
||||||
|
|||||||
Reference in New Issue
Block a user