Files
nixcn-cms/config.default.yaml
Asai Neko aaedddfd2f
All checks were successful
Build Backend (NixCN CMS) TeamCity build finished
Build Frontend (NixCN CMS) TeamCity build finished
Add Exchange SMTP Oauth2 Support (not verified)
Signed-off-by: Asai Neko <sugar@sne.moe>
2026-01-07 18:32:27 +08:00

48 lines
877 B
YAML

server:
application: example
address: :8000
external_url: https://example.com
debug_mode: false
file_logger: false
database:
type: postgres
host: 127.0.0.1
name: postgres
username: postgres
password: postgres
cache:
hosts: ["127.0.0.1:6379"]
master: ""
username: ""
password: ""
db: 0
search:
host: 127.0.0.1
api_key: ""
email:
host:
port:
username:
password:
security:
insecure_skip_verify:
from:
auth:
oauth2:
tenant_id:
client_id:
client_secret:
scope:
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