Files
pika/config.example.yaml
T
2025-11-10 22:11:46 +08:00

22 lines
428 B
YAML

Database:
Enabled: true
Type: postgres
Postgres:
Hostname: localhost
Port: 5432
Username: pika
Password: pika
Database: pika
ShowSql: false
log:
Level: debug # 日志等级 debug,info,waring,error
Filename: ./logs/pika.log
Server:
Addr: "0.0.0.0:8080"
IPExtractor: "X-Forwarded-For"
App:
JWT:
Secret: "you_must_change_me" # 替换为任意 UUID 字符串
ExpiresHours: 168 # 7天