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 -3
View File
@@ -1,6 +1,10 @@
# Docker Compose sets this URL directly; change docker-compose.yml to override it.
VITE_API_URL=http://backend:8080
VITE_ALLOWED_HOSTS=localhost,example.com
# Public frontend URL, including the scheme. Use http://localhost:5173 for local Docker testing.
ORIGIN=https://example.com
# VITE_ALLOWED_HOSTS only affects Vite dev/preview, not the production Node server.
# Used so that views are only counted from the frontend
# Must be the same on both the frontend and backend environment
# The frontend will also try to parse 'PasteSettings__View_Internal_API_Key'
VIEW_INTERNAL_API_KEY=another_random_minimum_32_char_string
# Production fallback: View_HMAC_Internal_API_Key (not PasteSettings__View_Internal_API_Key).
# Replace this placeholder with the same generated value as the backend setting.
VIEW_INTERNAL_API_KEY=replace_with_the_same_random_internal_api_key_in_both_files