| | |
| | | primary: master |
| | | datasource: |
| | | master: |
| | | url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 |
| | | url: jdbc:mysql://127.0.0.1:3306/iailab_plat_system?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 |
| | | username: root |
| | | password: 123456 |
| | | slave: # 模拟从库,可根据自己需要修改 # 模拟从库,可根据自己需要修改 |
| | | lazy: true # 开启懒加载,保证启动速度 |
| | | url: jdbc:mysql://127.0.0.1:3306/iailab-platform?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 |
| | | url: jdbc:mysql://127.0.0.1:3306/iailab_plat_system?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 |
| | | username: root |
| | | password: 123456 |
| | | |
| | |
| | | spring: |
| | | # RabbitMQ 配置项,对应 RabbitProperties 配置类 |
| | | rabbitmq: |
| | | host: 127.0.0.1 # RabbitMQ 服务的地址 |
| | | host: 172.16.8.200 # RabbitMQ 服务的地址 |
| | | port: 5672 # RabbitMQ 服务的端口 |
| | | username: guest # RabbitMQ 服务的账号 |
| | | password: guest # RabbitMQ 服务的密码 |
| | | username: admin # RabbitMQ 服务的账号 |
| | | password: admin123 # RabbitMQ 服务的密码 |
| | | # Kafka 配置项,对应 KafkaProperties 配置类 |
| | | kafka: |
| | | bootstrap-servers: 127.0.0.1:9092 # 指定 Kafka Broker 地址,可以设置多个,以逗号分隔 |
| | |
| | | xxl: |
| | | job: |
| | | admin: |
| | | addresses: http://127.0.0.1:9090/xxl-job-admin # 调度中心部署跟地址 |
| | | addresses: http://172.16.8.100:9090/xxl-job-admin # 调度中心部署跟地址 |
| | | |
| | | --- #################### 服务保障相关配置 #################### |
| | | |
| | |
| | | |
| | | # 平台配置项,设置当前项目所有自定义的配置 |
| | | iailab: |
| | | env: # 多环境的配置项 |
| | | tag: ${HOSTNAME} |
| | | security: |
| | | mock-enable: true |
| | | access-log: # 访问日志的配置项 |
| | | enable: false |
| | | xss: |
| | | enable: false |
| | | exclude-urls: # 如下两个 url,仅仅是为了演示,去掉配置也没关系 |
| | | - ${spring.boot.admin.context-path}/** # 不处理 Spring Boot Admin 的请求 |
| | | - ${management.endpoints.web.base-path}/** # 不处理 Actuator 的请求 |
| | | pay: |
| | | pay-notify-url: http://niubi.natapp1.cc/api/pay/order/notify |
| | | pay-return-url: http://niubi.natapp1.cc/api/pay/order/return |
| | | refund-notify-url: http://niubi.natapp1.cc/api/pay/refund/notify |
| | | demo: true # 开启演示模式 |
| | | demo: false # 开启演示模式 |
| | | captcha: |
| | | enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试 |
| | | |
| | | justauth: |
| | | enabled: true |