-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yaml.sample
78 lines (73 loc) · 2.48 KB
/
config.yaml.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# 日志配置
logging:
level: INFO
format: "[%(asctime)s] %(levelname)s %(name)s %(message)s"
# Nacos配置
nacos:
default: # Nacos ID
url: http://localhost:8848 # 必须加端口
username: nacos
password: nacos
# 使用了三方平台管理密码
# secretmanager:
# aws:
# # 使用哪个 aws config profile访问aws-secretmanager
# profile: default
# # 密钥名称
# secretid: secret_name
# 数据库配置
database:
local: # Database ID
url: localhost
port: 3306
username: root
password: "1234"
dialect: mysql
# liquibase的数据库变更日志表放入哪个schmea中,默认为liquibase
changelogschema: liquibase
# 使用了三方平台管理密码
# secretmanager:
# aws:
# # 使用哪个 aws profile访问aws-secretsmanager,不填默认default
# profile: "default"
# # 密钥ID
# secretid: "secret_id"
# elasticsearch配置
elasticsearch:
local: # ES ID
url: http://localhost:9200
# username: admin # Elasticsearch 用户名,没有注释掉
# password: "1234" # Elasticsearch 密码,没有注释掉
# api_id: "api_id" # Elasticsearch 8.x,API 密钥认证,没有注释掉
# api_key: "api_key" # Elasticsearch 8.x,API 密钥认证,没有注释掉
# 使用了三方平台管理密码
# secretmanager:
# aws:
# # 使用哪个 aws config profile访问aws-secretmanager
# profile: default
# # 密钥名称
# secretid: secret_name
# aws 配置
aws:
# aws credentials 文件位置,不配置默认 ~/.aws/credentials
credentials: ~/.aws/credentials
# aws config文件位置,不配置默认 ~/.aws/config
config: ~/.aws/config
# 或者直接使用access_key+secret_key+region
access_key: "ak"
secret_key: "sk"
region: "us-east-2"
# 应用配置
config:
# 老数据库连接uri,用于将数据迁移到新的database
old-database-uri: sqlite:///configops.db
# config-ops 使用的数据库,用来存储nacos、elasticsearch changelog执行记录。默认是本地sqlite,仅做测试使用,生产使用请切换到独立的数据库,如mysql
database-uri: sqlite:///configops.db
# 手动指定java-home目录,java版本必须在11及以上
java-home-dir:
# Liquibase 运行配置文件
liquibase:
# 配置文件
defaults-file:
# 用户提供的 jdbc 驱动目录
jdbc-drivers-dir: jdbc-drivers