This commit is contained in:
+10
-1
@@ -315,7 +315,7 @@ tools:
|
||||
# secure_cookie: false # HTTPS 環境では true
|
||||
# admin_emails:
|
||||
# - "[email protected]"
|
||||
# # primary_provider: gitea # 'google' | 'gitea'。両方有効時に明示
|
||||
# # primary_provider: gitea # 'google' | 'gitea' | 'local'。複数有効時に明示
|
||||
# providers:
|
||||
# google:
|
||||
# client_id: ""
|
||||
@@ -326,6 +326,15 @@ tools:
|
||||
# client_secret: ""
|
||||
# base_url: "https://gitea.example.com"
|
||||
# callback_url: "http://localhost:3000/auth/gitea/callback"
|
||||
# # ローカルアカウント (email + password)。OAuth を立てずにパスワード保護したい時。
|
||||
# # 既存の no-auth デプロイに後付け可: 起動時に bootstrap_admin を id='local' で冪等 seed し、
|
||||
# # no-auth 時代に 'local' 所有で溜まったデータをそのまま admin が引き継ぐ。
|
||||
# local:
|
||||
# enabled: true
|
||||
# allow_signup: false # true でセルフ登録 (status=pending → admin 承認)
|
||||
# bootstrap_admin: # 初回 admin (id='local')。seed 後は Settings/CLI で変更
|
||||
# email: "[email protected]"
|
||||
# password: "強いパスワードを設定" # 平文保存される。初回ログイン後に変更推奨
|
||||
|
||||
# ─── Branding (オプション) ────────────────────────────────────
|
||||
# config.yaml / data/branding/ は .gitignore 済みで git pull 影響なし。
|
||||
|
||||
Reference in New Issue
Block a user