Files
cms-server/config.default.yaml
Asai Neko 0f1c5b1293
All checks were successful
Client CMS Check Build (NixCN CMS) TeamCity build finished
Backend Check Build (NixCN CMS) TeamCity build finished
Fix new user create 500 error
Signed-off-by: Asai Neko <sugar@sne.moe>
2026-01-29 13:42:00 +08:00

47 lines
979 B
YAML

server:
application: example
address: :8000
external_url: https://example.com
debug_mode: false
log_level: debug
service_name: nixcn-cms-backend
database:
type: postgres
host: 127.0.0.1
name: postgres
username: postgres
password: postgres
service_name: nixcn-cms-postgres
cache:
hosts: ["127.0.0.1:6379"]
master: ""
username: ""
password: ""
db: 0
service_name: nixcn-cms-redis
search:
host: http://127.0.0.1:7700
api_key: ""
service_name: nixcn-cms-meilisearch
email:
host:
port:
username:
password:
security:
insecure_skip_verify:
secrets:
turnstile_secret: example
client_secret_key: aes_32_byte_string
kyc_info_key: aes_32_byte_string
ttl:
auth_code_ttl: 10m
access_ttl: 15s
refresh_ttl: 168h
checkin_code_ttl: 10m
kyc:
ali_access_key_id: example
ali_access_key_secret: example
tracer:
otel_controller_endpoint: localhost:4317