docs: fix example secrets

This commit is contained in:
2026-09-26 15:26:00 -04:00
parent b304d8ac9f
commit ee8b8f239d
5 changed files with 77 additions and 28 deletions
+7 -4
View File
@@ -1,23 +1,26 @@
# Replace every replace_with_ value before running. See README.md for secret generation.
# Use a different random secret for each setting, except the shared frontend/backend key.
# Required Misc. Variables
Domain=example.com
Https=true
AllowedCorsOrigins__0=https://example.com
JwtSettings__Secret=totally_random_and_secure_string
JwtSettings__Secret=replace_with_a_unique_random_jwt_secret_before_running
ConnectionStrings__DefaultConnection=Data Source=/app/data/sharpbin.db
# Auth Settings
# These Turnstile keys are for testing. Use your own site and secret keys in production.
AuthSettings__CF_Turnstile_SecretKey=1x0000000000000000000000000000000AA
AuthSettings__CF_Turnstile_SiteKey=3x00000000000000000000FF
AuthSettings__Registration_Enabled=true
AuthSettings__Admins_Require_2FA=true
AuthSettings__API_Key_HMAC_Secret=another_random_and_secure_string
AuthSettings__API_Key_HMAC_Secret=replace_with_a_unique_random_api_key_hmac_secret_before_running
# Paste Settings
PasteSettings__MaxTitleLength=500
PasteSettings__MaxPasteSizeInBytes=1048576
PasteSettings__EnablePasteCompression=true
PasteSettings__RequiresVerification=true
PasteSettings__View_HMAC_Secret=random_minimum_32_char_string
PasteSettings__View_HMAC_Secret=replace_with_a_unique_random_view_hmac_secret_before_running
# Used so that views are only counted from the frontend
# Must be the same on both the frontend and backend environment
PasteSettings__View_Internal_API_Key=another_random_minimum_32_char_string
PasteSettings__View_Internal_API_Key=replace_with_the_same_random_internal_api_key_in_both_files