mirror of
https://gitee.com/nicefold/seewis-cloud-plus.git
synced 2026-10-14 03:52:27 +08:00
Rename Maven modules and directories to seewis-* while preserving Java package paths. Allow Nacos and Logstash settings from environment variables or Maven -D overrides, and include the existing agent documentation updates.
30 lines
1.2 KiB
YAML
30 lines
1.2 KiB
YAML
spring:
|
|
liquibase:
|
|
# Existing environments must be baselined with changelogSync before enabling migrations.
|
|
enabled: false
|
|
change-log: classpath:db/changelog/db.changelog-master.yaml
|
|
datasource:
|
|
dynamic:
|
|
# 设置默认的数据源或者数据源组,默认值即为 master
|
|
primary: master
|
|
datasource:
|
|
# 主库数据源
|
|
master:
|
|
type: ${spring.datasource.type}
|
|
driver-class-name: ${datasource.system-master.driver-class-name:com.mysql.cj.jdbc.Driver}
|
|
url: ${datasource.system-master.url}
|
|
username: ${datasource.system-master.username}
|
|
password: ${datasource.system-master.password}
|
|
# oracle:
|
|
# type: ${spring.datasource.type}
|
|
# driverClassName: oracle.jdbc.OracleDriver
|
|
# url: ${datasource.system-oracle.url}
|
|
# username: ${datasource.system-oracle.username}
|
|
# password: ${datasource.system-oracle.password}
|
|
# postgres:
|
|
# type: ${spring.datasource.type}
|
|
# driverClassName: org.postgresql.Driver
|
|
# url: ${datasource.system-postgres.url}
|
|
# username: ${datasource.system-postgres.username}
|
|
# password: ${datasource.system-postgres.password}
|