ETCD后台服务
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

56 lines
982 B

# debug模式
debug = false
# 日志文件路径
log_path = ""
# http 监听端口
[http]
# 监听地址
address = "0.0.0.0"
# 监听端口
port = 9002
# 使用 Let's Encrypt 证书 - tls_enable为true优先使用本地证书模式
tls_encrypt_enable = false
# 域名列表
tls_encrypt_domain_names = ["your-domain.com"]
# 是否启用tls
tls_enable = false
# tls证书文件
[http.tls_config]
cert_file = "cert_file"
key_file = "key_file"
## mssql 配置
[db]
## 是否调试模式
debug = true
## 数据库连接地址 - make docker_run 不可以是127.0.0.1
address = "101.201.121.115"
## 数据库端口
port = 1433
## 连接池最大连接数
max_idle_conns = 64
## 默认打开连接数
max_open_conns = 24
## 数据库用户名
user = "sa"
## 数据库密码
passwd = "Leit2020"
## 数据库名
db_name = "LAPP_ETCD"
[etcd]
etcd_id = 1
version = "v3"
address = "127.0.0.1:2379"
tls_enable = false
cert_file = ""
key_file = ""
ca_file = ""
username = ""
password = ""