This commit is contained in:
oneao committed 2026-03-08 22:17:01 +08:00
1 parent 26ff2381b7
commit 00a1cce5ac
22 files changed
+335 -215

No files matched your search

@@ -0,0 +1,17 @@
postgres:
host: 127.0.0.1
port: 5432
user: postgres
password: zhang520..
dbname: app_online
timezone: Asia/Shanghai
max_open_conns: 10
max_idle_conns: 5
conn_max_lifetime: 30m
sll_mode: false
redis:
host: 127.0.0.1
port: 6379
password: zhang520..
db: 0
@@ -0,0 +1,17 @@
postgres:
host: 117.72.182.135
port: 5432
user: postgres
password: zhang520..
dbname: app
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
@@ -0,0 +1,20 @@
server:
port: 8086
base_url: /app
ws_url: /ws
log:
level: "debug"
dir: "./logs"
max_size: 10
max_backups: 30
max_age: 7
compress: true
wechat:
app_id: wxdab3e21a1f7e392f
app_secret: 0895443c6fedfc21cb92c9cd60de2a26
jwt:
secret: 3Bde3BGEbYqtqyEUzW3ry8jKFcaPH17fRmTmqE7MDr05Lwj95uruRKrrkb44TJ4s
access_expiry: -1