项目名调整,功能优化

This commit is contained in:
2026-01-26 22:20:27 +08:00
parent c6e5e655f9
commit 50275265ac
25 changed files with 413 additions and 66 deletions

47
config.example.yaml Normal file
View File

@@ -0,0 +1,47 @@
server:
port: 8080
base_url: ""
log:
level: info
api:
mode: local # local | redirect
cron:
enabled: true
daily_spec: "0 10 * * *"
retention:
days: 30
db:
type: sqlite # sqlite | mysql | postgres
dsn: data/bing_paper.db
storage:
type: local # local | s3 | webdav
local:
root: data/picture
s3:
endpoint: ""
region: ""
bucket: ""
access_key: ""
secret_key: ""
public_url_prefix: ""
force_path_style: false
webdav:
url: ""
username: ""
password: ""
public_url_prefix: ""
admin:
password_bcrypt: "$2a$10$fYHPeWHmwObephJvtlyH1O8DIgaLk5TINbi9BOezo2M8cSjmJchka" # 默认密码: admin123
token:
default_ttl: 168h
feature:
write_daily_files: true