diff --git a/apps/docs/content/docs/platform/self-hosting/platforms.mdx b/apps/docs/content/docs/platform/self-hosting/platforms.mdx index a2a3de22a40..e21d355ec05 100644 --- a/apps/docs/content/docs/platform/self-hosting/platforms.mdx +++ b/apps/docs/content/docs/platform/self-hosting/platforms.mdx @@ -13,7 +13,7 @@ The [Sim deployment template](https://railway.com/new/template/sim-studio) provi 1. Confirm PostgreSQL has pgvector and that migrations complete. 2. Confirm the app and realtime services share `BETTER_AUTH_SECRET` and `INTERNAL_API_SECRET`. -3. Retain generated secrets, set `API_ENCRYPTION_KEY`, and configure durable storage. +3. Retain generated secrets, verify `ENCRYPTION_KEY` is a 64-character hex string (`openssl rand -hex 32`) rather than a generic base64 secret, set `API_ENCRYPTION_KEY`, and configure durable storage. 4. Configure your domain under **Settings → Networking**. Set `NEXT_PUBLIC_APP_URL` and `BETTER_AUTH_URL` to that app origin; match `NEXT_PUBLIC_SOCKET_URL` to the realtime endpoint. 5. Add a model provider key such as `OPENAI_API_KEY` and configure email if needed. 6. Confirm Redis and the scheduler rather than assuming the template includes them. Sim refuses to start without Redis, and the app and realtime services share one `REDIS_URL`.