Configuration Fields
System settings are the single source of truth for runtime configuration. The first boot
writes every key from DefaultSettings into the settings table; from then on the stored value
wins, environment variables are a second fallback, and hardcoded defaults are the last resort.
This page is generated from internal/model/setting.go and lists all 126 keys. It describes
the seed defaults, not your site’s current values.
Reading the table
Section titled “Reading the table”| Column | Meaning |
|---|---|
| Key | Primary key in settings, and the field name used by /api/v1/settings/* |
| Default | Value written on first boot; an empty value must be supplied by an admin |
| Public | Included in GET /api/v1/settings/public, readable without signing in |
Site6
| Key | Default | Public |
|---|---|---|
site_name | Feed Chamber | ✓ |
site_description | NoelOrin 的个人博客 | ✓ |
site_logo | (empty) | ✓ |
site_url | (empty) | ✓ |
site_maintenance | false | |
site_maintenance_message | 站点维护中,请稍后再试 |
No key matches that filter.
SEO3
| Key | Default | Public |
|---|---|---|
seo_title | Feed Chamber | ✓ |
seo_keywords | Feed Chamber,博客,社区,技术 | ✓ |
seo_description | (empty) | ✓ |
No key matches that filter.
Open Graph1
| Key | Default | Public |
|---|---|---|
og_image | (empty) | ✓ |
No key matches that filter.
Verification1
| Key | Default | Public |
|---|---|---|
google_site_verification | (empty) | ✓ |
No key matches that filter.
Verification1
| Key | Default | Public |
|---|---|---|
baidu_site_verification | (empty) | ✓ |
No key matches that filter.
Users1
| Key | Default | Public |
|---|---|---|
user_profile_indexable | false | ✓ |
No key matches that filter.
Sitemap1
| Key | Default | Public |
|---|---|---|
sitemap_page_size | 5000 |
No key matches that filter.
Registration2
| Key | Default | Public |
|---|---|---|
register_enabled | true | ✓ |
register_mode | all | ✓ |
No key matches that filter.
Posts2
| Key | Default | Public |
|---|---|---|
post_approval | false | |
post_auth_required | false | ✓ |
No key matches that filter.
Moderation1
| Key | Default | Public |
|---|---|---|
moderation_mode | async |
No key matches that filter.
MCP3
| Key | Default | Public |
|---|---|---|
mcp_enabled | false | |
mcp_disabled_tools | (empty) | |
mcp_max_result_bytes | 8192 |
No key matches that filter.
Trust2
| Key | Default | Public |
|---|---|---|
trust_tl0_require_approval | false | |
trust_tl0_block_links | true |
No key matches that filter.
Email15
| Key | Default | Public |
|---|---|---|
email_verification_required | false | |
email_enabled | false | |
email_provider | log | |
email_smtp_host | (empty) | |
email_smtp_port | 587 | |
email_username | (empty) | |
email_password | (empty) | |
email_from | (empty) | |
email_from_name | Feed Chamber | |
email_use_tls | false | |
email_api_key | (empty) | |
email_code_ttl | 600 | |
email_code_length | 6 | |
email_resend_cooldown | 60 | |
email_daily_limit | 10 |
No key matches that filter.
Comments1
| Key | Default | Public |
|---|---|---|
comment_auth_required | false | ✓ |
No key matches that filter.
Spaces1
| Key | Default | Public |
|---|---|---|
space_view_auth_required | false | ✓ |
No key matches that filter.
Tags1
| Key | Default | Public |
|---|---|---|
tag_list_auth_required | false | ✓ |
No key matches that filter.
Announcements1
| Key | Default | Public |
|---|---|---|
announcement_auth_required | false | ✓ |
No key matches that filter.
Articles1
| Key | Default | Public |
|---|---|---|
article_page_size | 20 | ✓ |
No key matches that filter.
OAuth / OIDC49
| Key | Default | Public |
|---|---|---|
oauth_github_enabled | false | |
oauth_github_client_id | (empty) | |
oauth_github_client_secret | (empty) | |
oauth_github_callback | (empty) | |
oauth_google_enabled | false | |
oauth_google_client_id | (empty) | |
oauth_google_client_secret | (empty) | |
oauth_google_callback | (empty) | |
oauth_qq_enabled | false | |
oauth_qq_client_id | (empty) | |
oauth_qq_client_secret | (empty) | |
oauth_qq_callback | (empty) | |
oauth_wechat_enabled | false | |
oauth_wechat_client_id | (empty) | |
oauth_wechat_client_secret | (empty) | |
oauth_wechat_callback | (empty) | |
oauth_weibo_enabled | false | |
oauth_weibo_client_id | (empty) | |
oauth_weibo_client_secret | (empty) | |
oauth_weibo_callback | (empty) | |
oauth_discord_enabled | false | |
oauth_discord_client_id | (empty) | |
oauth_discord_client_secret | (empty) | |
oauth_discord_callback | (empty) | |
oauth_github_auth_url | (empty) | |
oauth_github_token_url | (empty) | |
oauth_github_user_api_url | (empty) | |
oauth_github_scopes | (empty) | |
oauth_google_auth_url | (empty) | |
oauth_google_token_url | (empty) | |
oauth_google_user_api_url | (empty) | |
oauth_google_scopes | (empty) | |
oauth_qq_auth_url | (empty) | |
oauth_qq_token_url | (empty) | |
oauth_qq_user_api_url | (empty) | |
oauth_qq_scopes | (empty) | |
oauth_wechat_auth_url | (empty) | |
oauth_wechat_token_url | (empty) | |
oauth_wechat_user_api_url | (empty) | |
oauth_wechat_scopes | (empty) | |
oauth_weibo_auth_url | (empty) | |
oauth_weibo_token_url | (empty) | |
oauth_weibo_user_api_url | (empty) | |
oauth_weibo_scopes | (empty) | |
oauth_discord_auth_url | (empty) | |
oauth_discord_token_url | (empty) | |
oauth_discord_user_api_url | (empty) | |
oauth_discord_scopes | (empty) | |
oauth_access_token_ttl | 86400 |
No key matches that filter.
OIDC SSO5
| Key | Default | Public |
|---|---|---|
sso_oidc_enabled | false | |
sso_oidc_issuer | (empty) | |
sso_oidc_client_id | (empty) | |
sso_oidc_client_secret | (empty) | |
sso_id_token_ttl | 3600 |
No key matches that filter.
API Keys2
| Key | Default | Public |
|---|---|---|
api_key_enabled | false | |
api_key_default_rate_limit | 100 |
No key matches that filter.
MFA1
| Key | Default | Public |
|---|---|---|
mfa_totp_enabled | false |
No key matches that filter.
Rate Limits1
| Key | Default | Public |
|---|---|---|
rate_limit_enabled | false |
No key matches that filter.
Security3
| Key | Default | Public |
|---|---|---|
security_brute_force_max_attempts | 5 | |
security_brute_force_window | 300 | |
security_unusual_location_enabled | false |
No key matches that filter.
Backups1
| Key | Default | Public |
|---|---|---|
backup_retention_days | 30 |
No key matches that filter.
Pagination2
| Key | Default | Public |
|---|---|---|
page_max_size | 100 | |
page_default_size | 20 | ✓ |
No key matches that filter.
Uploads3
| Key | Default | Public |
|---|---|---|
upload_max_size | 10485760 | |
upload_allowed_types | image/jpeg,image/png,image/gif,image/webp | |
upload_presign_expiry | 900 |
No key matches that filter.
SSE1
| Key | Default | Public |
|---|---|---|
sse_polling_interval | 5 |
No key matches that filter.
view1
| Key | Default | Public |
|---|---|---|
view_count_flush_interval | 60 |
No key matches that filter.
bcrypt1
| Key | Default | Public |
|---|---|---|
bcrypt_cost | 10 |
No key matches that filter.
password1
| Key | Default | Public |
|---|---|---|
password_min_length | 8 |
No key matches that filter.
storage2
| Key | Default | Public |
|---|---|---|
storage_provider | local | |
storage_local_dir | uploads |
No key matches that filter.
s37
| Key | Default | Public |
|---|---|---|
s3_endpoint | (empty) | |
s3_region | us-east-1 | |
s3_bucket | (empty) | |
s3_access_key_id | (empty) | |
s3_access_key_secret | (empty) | |
s3_use_ssl | true | |
s3_custom_domain | (empty) |
No key matches that filter.
banned2
| Key | Default | Public |
|---|---|---|
banned_status_visible | true | |
banned_status_public_access | true |
No key matches that filter.
Admin locations
Section titled “Admin locations”| Group | Path |
|---|---|
| Site, SEO, registration, moderation mode | /admin/settings?tab=site |
| Users, authentication, email, content | /admin/settings?tab=user, ?tab=content |
| Third-party login (OAuth / OIDC) | /admin/settings?tab=oauth |
| Storage (local / S3) | /admin/settings?tab=storage |
| Gate rules | /admin/gates |
| Growth and XP | /admin/levels, /admin/xp-rules |
The full environment-variable list is in Environment variables.