gateway-pro.yaml
server:
port: 80
spring:
application:
name: gateway
cloud:
gateway:
routes:
- id: imservice
uri: lb:ws://service
predicates:
- Path=/zim
order: -1
nacos:
discovery:
server-addr: live:8888
gateway-dev.yaml
server:
port: 80
spring:
application:
name: gateway-dev
cloud:
gateway:
routes:
- id: imservice
uri: lb:ws://service-dev
predicates:
- Path=/zim
order: 1
- id: webservice
uri: lb://service-dev
predicates:
- Path=/hs/**
order: 2
filters:
- StripPrefix=1
nacos:
discovery:
server-addr: live:8888
service-pro.yaml
server:
port: 8374
spring:
application:
name: service
cloud:
nacos:
discovery:
server-addr: live:8888
logging:
level:
org.springframework.web: trace
service-dev.yaml
spring:
application:
name: service-dev
cloud:
nacos:
discovery:
server-addr: live:8888
logging:
level:
org.springframework.web: trace
datas-pro.yaml
server:
port: 8412
spring:
application:
name: datas
cloud:
nacos:
discovery:
server-addr: live:8888
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://live:19819/z?serverTimezone=GMT%2B8&useSSL=false
username: root
password: rootsasa
redis:
host: live
port: 6379
mybatis-plus:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
map-underscore-to-camel-case: false
cache-enabled: false
datas-dev.yaml
spring:
application:
name: datas-dev
cloud:
nacos:
discovery:
server-addr: live:8888
datasource:
dynamic:
primary: z
strict: false
datasource:
z:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://live:19819/z?serverTimezone=GMT%2B8&useSSL=false
username: root
password: rootsasa
zim001:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://live:19819/zim001?serverTimezone=GMT%2B8&useSSL=false
username: root
password: rootsasa
zim002:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://live:19819/zim002?serverTimezone=GMT%2B8&useSSL=false
username: root
password: rootsasa
redis:
host: live
port: 6379
mybatis-plus:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
map-underscore-to-camel-case: false
cache-enabled: false