- 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>
32 lines
681 B
JSON
32 lines
681 B
JSON
{
|
|
"app": {
|
|
"name": "Service Master Data",
|
|
"description": "Purpose of this service is to provide master data product, master data suco and etc",
|
|
"version": "1.0.0",
|
|
"env": "Production"
|
|
},
|
|
"server": {
|
|
"port": "7002",
|
|
"host": "0.0.0.0",
|
|
"host_swagger": "http://192.168.80.50:9080/service-master-data/",
|
|
"max_body": "50mb",
|
|
"max_upload": 104857600,
|
|
"morgan": "combined",
|
|
"cors": "*",
|
|
"ssl": {
|
|
"enable": false,
|
|
"cert": "",
|
|
"key": ""
|
|
}
|
|
},
|
|
"database": {
|
|
"engine": "postgres",
|
|
"host": "172.16.10.11",
|
|
"port": "5432",
|
|
"username": "saude_production",
|
|
"password": "y0BZQ6of14OULYnb",
|
|
"database": "saude_production",
|
|
"logging": false
|
|
}
|
|
}
|