mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-05 18:48:41 +00:00
feat: add PasteSettings environment variables for internal API key and HMAC secret
This commit is contained in:
@@ -13,6 +13,8 @@ services:
|
||||
AuthSettings__First_User_Admin: ${AuthSettings__First_User_Admin}
|
||||
AuthSettings__CF_Turnstile_SecretKey: ${AuthSettings__CF_Turnstile_SecretKey}
|
||||
AuthSettings__CF_Turnstile_SiteKey: ${AuthSettings__CF_Turnstile_SiteKey}
|
||||
PasteSettings__View_Internal_API_Key: ${PasteSettings__View_Internal_API_Key}
|
||||
PasteSettings__View_HMAC_Secret: ${PasteSettings__View_HMAC_Secret}
|
||||
|
||||
volumes:
|
||||
- sharpbin-data:/app/data
|
||||
@@ -36,6 +38,9 @@ services:
|
||||
environment:
|
||||
VITE_API_URL: http://backend:8080
|
||||
VITE_ALLOWED_HOSTS: ${VITE_ALLOWED_HOSTS:-"localhost"}
|
||||
PasteSettings__View_Internal_API_Key: ${PasteSettings__View_Internal_API_Key}
|
||||
VIEW_INTERNAL_API_KEY: ${VIEW_INTERNAL_API_KEY}
|
||||
|
||||
ports:
|
||||
- "5173:5173"
|
||||
networks:
|
||||
|
||||
Reference in New Issue
Block a user