-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathconfig.example.yaml
42 lines (31 loc) · 1020 Bytes
/
config.example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# 查看 lib/config.ts 的 configSchema
server: {}
nsfw_word: '里番|无码|18x|エロ'
disable_words: '办假存单|办理假证|0月租手机'
banned_domain: 'lista.cc|snapmail.cc|ashotmail.com|zoutlook.com'
mysql:
host: '127.0.0.1' # MYSQL_HOST
port: '3306' # MYSQL_PORT
user: 'user' # MYSQL_USER
password: 'password' # MYSQL_PASSWORD
db: 'bangumi' # MYSQL_DB
redisUri: 'redis://:redis-pass@127.0.0.1:6379/0' # REDIS_URI
kafkaBrokers: 127.0.0.1:29092
turnstile:
secretKey: '1x0000000000000000000000000000000AA' # TURNSTILE_SECRET_KEY
siteKey: '1x00000000000000000000AA' # TURNSTILE_SITE_KEY
sentryDSN: 'https://examplePublicKey@o0.ingest.sentry.io/0' # SENTRY_DSN
image:
provider: 'fs' # CHII_IMAGE_PROVIDER
# https://github.com/h2non/imaginary
# example: 'http://127.0.0.1:9000'
imaginaryUrl: ''
fs:
path: './tmp/images' # CHII_IMAGE_PROVIDER
s3:
bucket: 'chii-image'
endPoint: 'play.min.io'
port: 9000
useSSL: true
accessKey: '...'
secretKey: '...'