Configure official Stuffbox URL in example and fresh VPS installs
Hop-State: A_06FP8TR0KJF8N7BWEBNR618 Hop-Proposal: R_06FP8TQ5JJSA61SNB19PXB0 Hop-Task: T_06FP8TDTWY6ESGXKC1FXBDG Hop-Attempt: AT_06FP8TDTWX2BRQ83QR6TA70
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ NEXT_PUBLIC_NODE_DOMAIN=localhost:43821
|
|||||||
NEXT_PUBLIC_APP_URL=http://localhost:43821
|
NEXT_PUBLIC_APP_URL=http://localhost:43821
|
||||||
|
|
||||||
# Recommended: Stuffbox instance offered as the default user-owned media provider
|
# Recommended: Stuffbox instance offered as the default user-owned media provider
|
||||||
# STUFFBOX_URL=https://stuffbox.example.com
|
STUFFBOX_URL=https://stuffbox.xyz
|
||||||
|
|
||||||
# Optional: node metadata shown before a node record exists in the database
|
# Optional: node metadata shown before a node record exists in the database
|
||||||
# NEXT_PUBLIC_NODE_NAME=Synapsis Local
|
# NEXT_PUBLIC_NODE_NAME=Synapsis Local
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ Uninstalling preserves the database and environment by default. Pass `--purge-da
|
|||||||
|
|
||||||
The node database is a local embedded Turso/SQLite file. Media remains in storage controlled by each user, so exported accounts retain portable media URLs and can move between Synapsis nodes without requiring the old node to transfer a shared upload directory.
|
The node database is a local embedded Turso/SQLite file. Media remains in storage controlled by each user, so exported accounts retain portable media URLs and can move between Synapsis nodes without requiring the old node to transfer a shared upload directory.
|
||||||
|
|
||||||
Stuffbox is the default integration. Set `STUFFBOX_URL` to the public URL of the Stuffbox service users should connect. Synapsis uses a consent and PKCE flow, keeps the resulting tokens encrypted with `AUTH_SECRET`, and sends file bytes directly from the user's browser to Stuffbox.
|
Stuffbox is the default integration. New installs use `https://stuffbox.xyz`; set `STUFFBOX_URL` to a different public URL when using another or self-hosted Stuffbox service. Synapsis uses a consent and PKCE flow, keeps the resulting tokens encrypted with `AUTH_SECRET`, and sends file bytes directly from the user's browser to Stuffbox.
|
||||||
|
|
||||||
User-owned S3-compatible storage remains available as an advanced fallback. Supported providers include AWS S3, Cloudflare R2, Backblaze B2, Wasabi, and Contabo.
|
User-owned S3-compatible storage remains available as an advanced fallback. Supported providers include AWS S3, Cloudflare R2, Backblaze B2, Wasabi, and Contabo.
|
||||||
|
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ if [[ ! -e "$ENV_FILE" ]]; then
|
|||||||
echo "AUTH_SECRET=$auth_secret"
|
echo "AUTH_SECRET=$auth_secret"
|
||||||
echo "ADMIN_EMAILS=admin@example.com"
|
echo "ADMIN_EMAILS=admin@example.com"
|
||||||
echo "NEXT_PUBLIC_NODE_DOMAIN=localhost:$port"
|
echo "NEXT_PUBLIC_NODE_DOMAIN=localhost:$port"
|
||||||
|
echo "STUFFBOX_URL=https://stuffbox.xyz"
|
||||||
} > "$ENV_FILE"
|
} > "$ENV_FILE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user