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": "7001",
|
"port": "7001",
|
||||||
"host": "0.0.0.0",
|
"host": "0.0.0.0",
|
||||||
"host_swagger": "http://192.168.80.123:9080/service-user/",
|
"host_swagger": "http://192.168.80.50:9080/service-user/",
|
||||||
"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",
|
||||||
@ -34,7 +34,7 @@
|
|||||||
"reset_password_url": "https://tcelanatl.shiblysolution.id/ukln/auth/reset-password/"
|
"reset_password_url": "https://tcelanatl.shiblysolution.id/ukln/auth/reset-password/"
|
||||||
},
|
},
|
||||||
"service": {
|
"service": {
|
||||||
"notification": "http://127.0.0.1:7004/",
|
"notification": "http://172.16.10.10:7004/",
|
||||||
"hrms": "https://tcelanatl.shiblysolution.id/hrms/"
|
"hrms": "https://tcelanatl.shiblysolution.id/hrms/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user