Files
geg-gas-pcitc/demo/demo-service/src/main/resources/bootstrap.yml

51 lines
1.5 KiB
YAML
Raw Normal View History

2025-02-08 17:51:37 +08:00
server:
2025-04-28 15:12:21 +08:00
port: 9001
2025-02-08 17:51:37 +08:00
spring:
application:
2025-04-28 15:12:21 +08:00
name: demo-service
2025-02-08 17:51:37 +08:00
main:
allow-bean-definition-overriding: true
2025-04-28 15:12:21 +08:00
# autoconfigure:
# #自动化配置 例外处理
# exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
2025-02-08 17:51:37 +08:00
cloud:
nacos: #nacos监控
discovery:
server-addr: 10.0.252.1:8848
2025-04-28 15:12:21 +08:00
namespace: ITC-MS
2025-02-08 17:51:37 +08:00
group: DNE
username: nacos
password: ABcd1234@
config:
server-addr: 10.0.252.1:8848 # nacos 配置中心地址
2025-04-28 15:12:21 +08:00
namespace: ITC-MS
2025-02-08 17:51:37 +08:00
group: DNE
username: nacos
password: ABcd1234@
2025-04-28 15:12:21 +08:00
file-extension: yml # 默认配置 ${spring.application.name}-${spring.profiles.active}.${file-extension}
2025-02-08 17:51:37 +08:00
extension-configs:
- data-id: global-config.yml
refresh: true
group: DNE
2025-04-28 15:12:21 +08:00
- data-id: sa-token-client-config.yml
2025-02-08 17:51:37 +08:00
refresh: true
group: DNE
2025-04-28 15:12:21 +08:00
- data-id: redis-config.yml
2025-02-08 17:51:37 +08:00
refresh: true
group: DNE
- data-id: datasource-config.yml
refresh: true
group: DNE
2025-04-28 15:12:21 +08:00
- data-id: camunda-config.yml
refresh: true
group: DNE
- data-id: demo-config.yml
refresh: true
group: DNE
2025-02-08 17:51:37 +08:00
sentinel:
transport:
dashboard: localhost:8080 #sentinel dashboard 地址
port: 8719 #默认端口, 如果 被占用,会一直+1 直到未被占用为止