Update config files

Penyesuaian config using hostname
This commit is contained in:
Salman Manoe 2023-11-13 20:28:34 +07:00
parent dc3adacf50
commit 6be92545f9
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ public class DbConfig {
config.setPoolName("PoolReporting1");
config.setDriverClassName("org.postgresql.Driver");
config.setConnectionTestQuery("SELECT 1");
config.setJdbcUrl("jdbc:postgresql://172.16.88.8:5432/rsab_hk_production");
config.setJdbcUrl("jdbc:postgresql://ds.rsabhk.lan:5432/rsab_hk_production");
config.setUsername("postgres");
config.setPassword("root");
config.setMinimumIdle(5);

View File

@ -1,7 +1,7 @@
server.port=7777
spring.datasource.type=com.zaxxer.hikari.HikariDataSource
spring.datasource.driver-class-name=org.postgresql.Driver
spring.datasource.url=jdbc:postgresql://172.16.88.8:5432/rsab_hk_production
spring.datasource.url=jdbc:postgresql://ds.rsabhk.lan:5432/rsab_hk_production
spring.datasource.username=postgres
spring.datasource.password=root
spring.mvc.dispatch-trace-request=true