Browse Source

本地配置调整

dev-lhz
liuhuazhong 1 year ago
parent
commit
e571fe6f42
3 changed files with 8 additions and 30 deletions
  1. +4
    -18
      ruoyi-auth/src/main/resources/bootstrap.yml
  2. +2
    -8
      ruoyi-gateway/src/main/resources/bootstrap.yml
  3. +2
    -4
      ruoyi-modules/ruoyi-system/src/main/resources/bootstrap.yml

+ 4
- 18
ruoyi-auth/src/main/resources/bootstrap.yml View File

@@ -13,19 +13,17 @@ spring:
cloud:
nacos:
discovery:
namespace: cc149503-5508-4da9-a735-9505e2a91363
# 服务注册地址
server-addr: 172.20.32.181:31203
server-addr: nacos-ci4s.argo.svc:8848
username: nacos
password: h1n2x3j4y5@
retry:
enabled: true
config:
namespace: cc149503-5508-4da9-a735-9505e2a91363
username: nacos
password: h1n2x3j4y5@
# 配置中心地址
server-addr: 172.20.32.181:31203
server-addr: nacos-ci4s.argo.svc:8848
# 配置文件格式
file-extension: yml
# 共享配置
@@ -38,18 +36,6 @@ spring:
refresh: true

redis:
host: 172.20.32.88
host: 172.20.32.150
port: 6379
password:

oauth2:
url: http://172.20.32.106:8080
# url: http://110.41.62.43:8088
client-id: ci4s
client-secret: 123456
user-authorization-uri: ${oauth2.url}/oauth/authorize
access-token-uri: ${oauth2.url}/oauth/token
logout-uri: ${oauth2.url}/logout
redirect-uri: http://172.20.32.83:8002/authorize
check-token-uri: ${oauth2.url}/oauth/check_token
login-page: ${oauth2.url}/login.html
password:

+ 2
- 8
ruoyi-gateway/src/main/resources/bootstrap.yml View File

@@ -4,10 +4,6 @@ server:

# Spring
spring:
redis:
host: 172.20.32.88
port: 6379
password:
application:
# 应用名称
name: ruoyi-gateway
@@ -18,18 +14,16 @@ spring:
nacos:
discovery:
# 服务注册地址
server-addr: 172.20.32.181:31203
server-addr: nacos-ci4s.argo.svc:8848
username: nacos
password: h1n2x3j4y5@
retry:
enabled: true
namespace: cc149503-5508-4da9-a735-9505e2a91363
config:
namespace: cc149503-5508-4da9-a735-9505e2a91363
username: nacos
password: h1n2x3j4y5@
# 配置中心地址
server-addr: 172.20.32.181:31203
server-addr: nacos-ci4s.argo.svc:8848
# 配置文件格式
file-extension: yml
# 共享配置


+ 2
- 4
ruoyi-modules/ruoyi-system/src/main/resources/bootstrap.yml View File

@@ -14,16 +14,14 @@ spring:
nacos:
discovery:
# 服务注册地址
namespace: cc149503-5508-4da9-a735-9505e2a91363
server-addr: 172.20.32.181:31203
server-addr: nacos-ci4s.argo.svc:8848
username: nacos
password: h1n2x3j4y5@
config:
namespace: cc149503-5508-4da9-a735-9505e2a91363
username: nacos
password: h1n2x3j4y5@
# 配置中心地址
server-addr: 172.20.32.181:31203
server-addr: nacos-ci4s.argo.svc:8848
# 配置文件格式
file-extension: yml
# 共享配置


Loading…
Cancel
Save