配置文件¶
完整的配置文件在软件包下
主要配置如下¶
安全配置¶
amzapi:
secret-key: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
API/SQL调试¶
client:
timeout: 300
debug: true
sql-debug: true
redis配置¶
redis:
addr: 127.0.0.1:6379
password: 123456
db: 0
数据库配置(后台管理)¶
pgsql:
prefix: ""
port: "5432"
config: sslmode=disable TimeZone=Asia/Shanghai
db-name: rongliang
username: postgres
password: 123456
path: 127.0.0.1
engine: ""
log-mode: error
max-idle-conns: 10
max-open-conns: 100
singular: false
log-zap: false
数据库配置(广告数据)¶
db-list:
- type: pgsql
alias-name: ad_data
prefix: ""
port: "5432"
config: sslmode=disable TimeZone=Asia/Shanghai
db-name: rongliang
username: postgres
password: 123456
path: 127.0.0.1
engine: ""
log-mode: error
max-idle-conns: 50
max-open-conns: 100
singular: false
log-zap: false
disable: false