From b10988e09d028a737463279ce88c50cd370b7394 Mon Sep 17 00:00:00 2001 From: Narul Hidayah Date: Thu, 21 May 2026 16:44:53 +0900 Subject: [PATCH] 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 --- config/prod.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/config/prod.json b/config/prod.json index 113ce47..c78e193 100644 --- a/config/prod.json +++ b/config/prod.json @@ -8,7 +8,7 @@ "server": { "port": "7001", "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_upload": 104857600, "morgan": "combined", @@ -21,7 +21,7 @@ }, "database": { "engine": "postgres", - "host": "192.168.80.130", + "host": "172.16.10.11", "port": "5432", "username": "saude_production", "password": "y0BZQ6of14OULYnb", @@ -34,7 +34,7 @@ "reset_password_url": "https://tcelanatl.shiblysolution.id/ukln/auth/reset-password/" }, "service": { - "notification": "http://127.0.0.1:7004/", + "notification": "http://172.16.10.10:7004/", "hrms": "https://tcelanatl.shiblysolution.id/hrms/" } }