diff --git a/.env.example b/.env.example index 0712b12..fe7dfaa 100644 --- a/.env.example +++ b/.env.example @@ -19,7 +19,7 @@ NEXT_PUBLIC_NODE_DOMAIN=localhost:43821 NEXT_PUBLIC_APP_URL=http://localhost:43821 # 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 # NEXT_PUBLIC_NODE_NAME=Synapsis Local diff --git a/README.md b/README.md index 5925d6b..9b0d033 100644 --- a/README.md +++ b/README.md @@ -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. -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. diff --git a/deploy/install.sh b/deploy/install.sh index 7f8923b..a025271 100755 --- a/deploy/install.sh +++ b/deploy/install.sh @@ -46,6 +46,7 @@ if [[ ! -e "$ENV_FILE" ]]; then echo "AUTH_SECRET=$auth_secret" echo "ADMIN_EMAILS=admin@example.com" echo "NEXT_PUBLIC_NODE_DOMAIN=localhost:$port" + echo "STUFFBOX_URL=https://stuffbox.xyz" } > "$ENV_FILE" fi