43 lines
667 B
YAML
43 lines
667 B
YAML
server:
|
|
port: 8086
|
|
base_url: /app
|
|
ws_url: /ws
|
|
jwt:
|
|
secret: 3Bde3BGEbYqtqyEUzW3ry8jKFcaPH17fRmTmqE7MDr05Lwj95uruRKrrkb44TJ4s
|
|
access_expiry: -1
|
|
|
|
snowflake:
|
|
datacenter_id: 1
|
|
worker_id: 1
|
|
|
|
pgsql:
|
|
host: 117.72.182.135
|
|
port: 5432
|
|
user: postgres
|
|
password: zhang520..
|
|
dbname: base
|
|
timezone: Asia/Shanghai
|
|
max_open_conns: 10
|
|
max_idle_conns: 5
|
|
conn_max_lifetime: 30m
|
|
sll_mode: false
|
|
|
|
redis:
|
|
host: 117.72.182.135
|
|
port: 6379
|
|
password: zhang520..
|
|
db: 0
|
|
|
|
log:
|
|
level: "debug"
|
|
dir: "./logs"
|
|
max_size: 10
|
|
max_backups: 30
|
|
max_age: 7
|
|
compress: true
|
|
|
|
wx:
|
|
app_id: wxdab3e21a1f7e392f
|
|
app_secret: 0895443c6fedfc21cb92c9cd60de2a26
|
|
|