Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
doc: 添加hash表前缀配置说明
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Jul 23, 2024
1 parent be0ea40 commit 5221aca
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/deploy/campux.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ docker compose up
auth:
jwt:
expire: 21600
secret: <你的 JWT Token 密钥>
secret: <你自定义的 JWT Token 密钥>
backend:
host: 0.0.0.0
port: "8080"
Expand All @@ -63,6 +63,12 @@ mq:
new_post: campux_new_post
publish_post: campux_publish_post
post_cancel: campux_post_cancel
hash:
# hash 表的名称
# 如果你多个Campux系统共用同一个Redis,这里的名称相同的key值每个系统要区分一下
# post_publish_status: 系统内多个bot发表一个稿件后,会在对应稿件的hash表中记录发表状态以供后端确认发表状态,这个value为hash表前缀
# 默认值为例,ID 为 1 的稿件,发表状态的hash表名为 campux_post_publish_status1
post_publish_status: campux_post_publish_status
oss:
minio:
access_key: <你的 MinIO Access Key>
Expand Down

0 comments on commit 5221aca

Please sign in to comment.