init
This commit is contained in:
20
configs/config.yaml
Normal file
20
configs/config.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
api_key: "test" # 访问你的 API 时需要提供的密钥
|
||||
|
||||
tmdb:
|
||||
api_key: "e17357eea1c7c15f9c04c280f11d0edd" # 从 The Movie Database 官网申请
|
||||
|
||||
douban:
|
||||
# 从浏览器开发者工具中获取,并粘贴在这里。可以为空。
|
||||
cookie: 'bid=y1YNlt5QwAc; ll="118239"; ap_v=0,6.0; dbcl2="55961711:kwIGLRCCh+A"; ck=NJOB; frodotk_db="7b643abfa8b8bde0722cb03efa2a39a0"; push_noty_num=0; push_doumail_num=0'
|
||||
|
||||
redis:
|
||||
host: "192.168.1.3" # Docker 部署时会改为 "redis"
|
||||
port: 6379
|
||||
db: 0
|
||||
cache_ttl_seconds: 3600 # 缓存过期时间 (1小时)
|
||||
|
||||
# 你的图床配置
|
||||
uploader:
|
||||
enable: false # 是否启用你自己的图床 (false 则直接用豆瓣/TMDB的图片链接)
|
||||
api_url: "http://your-image-host.com/upload"
|
||||
api_key: "YOUR_IMAGE_HOST_API_KEY"
|
||||
Reference in New Issue
Block a user