diff --git a/openhis-server-new/openhis-application/src/main/resources/application-prod.yml b/openhis-server-new/openhis-application/src/main/resources/application-prod.yml index 7f33d601..6e96ab2e 100644 --- a/openhis-server-new/openhis-application/src/main/resources/application-prod.yml +++ b/openhis-server-new/openhis-application/src/main/resources/application-prod.yml @@ -6,9 +6,9 @@ spring: druid: # 主库数据源 master: - url: jdbc:postgresql://localhost:5432/openhis?currentSchema=public&characterEncoding=UTF-8&client_encoding=UTF-8 - username: postgres - password: root + url: jdbc:postgresql://192.168.110.252:15432/postgresql?currentSchema=public&characterEncoding=UTF-8&client_encoding=UTF-8 + username: postgresql + password: Jchl1528 # 从库数据源 slave: # 从数据源开关/默认关闭 @@ -62,13 +62,13 @@ spring: # redis 配置 redis: # 地址 - host: 127.0.0.1 + host: 192.168.110.252 # 端口,默认为6379 port: 6379 # 数据库索引 database: 1 # 密码 - password: redis + password: Jchl1528 # 连接超时时间 timeout: 10s lettuce: