From c2d483dfb469a94d9fa0ef6d41b9295065818c5d Mon Sep 17 00:00:00 2001 From: bhuridech Date: Sat, 23 Mar 2024 13:33:48 +0700 Subject: [PATCH] change db connection --- infra/gitops/dev/configmap.yml | 6 +++--- infra/gitops/prod/configmap.yml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/infra/gitops/dev/configmap.yml b/infra/gitops/dev/configmap.yml index 5dfda1c..076b24b 100644 --- a/infra/gitops/dev/configmap.yml +++ b/infra/gitops/dev/configmap.yml @@ -4,8 +4,8 @@ metadata: name: app-config namespace: group-3-dev data: - db.url: "jdbc:postgresql://db-postgresql-sgp1-09974-do-user-856918-0.c.db.ondigitalocean.com:25060/dev-group-3" - db.username: "doadmin" - db.password: "AVNS_2KxS7zrsXbMV3L_4Eaj" + db.url: "jdbc:postgresql://ec2-13-250-18-96.ap-southeast-1.compute.amazonaws.com/dev-group-3" + db.username: "postgres" + db.password: "YGSQOnBlYd+6" enabled.feature.promotion.list.api: "true" \ No newline at end of file diff --git a/infra/gitops/prod/configmap.yml b/infra/gitops/prod/configmap.yml index b0ec434..1108f4a 100644 --- a/infra/gitops/prod/configmap.yml +++ b/infra/gitops/prod/configmap.yml @@ -4,7 +4,7 @@ metadata: name: app-config namespace: group-3-prod data: - db.url: "jdbc:postgresql://db-postgresql-sgp1-09974-do-user-856918-0.c.db.ondigitalocean.com:25060/prod-group-3" - db.username: "doadmin" - db.password: "AVNS_2KxS7zrsXbMV3L_4Eaj" + db.url: "jdbc:postgresql://ec2-13-250-18-96.ap-southeast-1.compute.amazonaws.com/prod-group-3" + db.username: "postgres" + db.password: "YGSQOnBlYd+6" enabled.feature.promotion.list.api: "true" \ No newline at end of file