Deploy Rakazo Template
Deploy Rakazo with private computers, PostgreSQL and persistent storage.
Postgres
Just deployed
/var/lib/postgresql/data
Rakazo
Just deployed
/data
Deploy and Host Rakazo on Railway
About Hosting Rakazo
The template runs Rakazo, PostgreSQL and agent computers on Railway. No Docker host or separate sandbox provider is needed. Railway usage and any connected model provider are billed separately.
Deploy
- Deploy the template. Enter your email in
OWNER_EMAILand a Railway workspace or account API token inRAILWAY_API_TOKEN. - Wait for Rakazo to become healthy. Open its generated HTTPS domain.
- Sign in with your email and the generated
OWNER_PASSWORDfrom the Rakazo service's Variables tab. Change the password in account settings. - Connect your model account in Rakazo and send Chief a message.
The token must be able to create environments and sandboxes in the project. Prefer a dedicated Railway workspace. Never place it in a bot's files or model connection settings.
Why Deploy Rakazo on Railway
- The owner account is created before the public web server starts. Public registration is closed on every start; this template is intended for a personal deployment.
- Every install gets separate random database, authentication, encryption, screen and initial owner secrets. Keep the encryption key and database password stable across redeploys.
- PostgreSQL has no public endpoint. Only the web port is published; the API binds to loopback.
- Computers run in a separate, empty Railway environment, so they cannot reach the application's private database network. Startup creates this environment automatically and reuses it on restart.
- App processes run as the unprivileged
nodeuser. The entrypoint briefly uses root to set the mounted volume's owner, then drops privileges. - The API, worker and web share one service and
/datavolume. PostgreSQL has its own volume. The template requests daily backups for both volumes; Railway requires a Pro workspace to use managed backups. Run one application replica; do not enable service sleeping. - Any process failure restarts the application service. Database migrations finish before startup. Idle computers stop after ten minutes; each user can create up to three computers.
Updates and backups
To update, connect the service to the desired source branch and deploy its latest commit in the application environment. Do not deploy application services into the sandbox environment. The owner bootstrap keeps existing accounts and passwords. Changing OWNER_PASSWORD later does not reset an account password.
Back up PostgreSQL, /data, and ENCRYPTION_KEY before upgrades. Railway volume persistence is not a backup. Keep backups private and test restoring them together. Do not delete volumes to fix a failed deploy.
The sandbox environment is separate from the app environment. Do not put trusted services or secrets there. If you delete the application project, check for and remove its remaining computers.
Common Use Cases
A personal AI assistant with browser access, persistent files and scheduled tasks. Choose your model through Rakazo's connection settings.
Dependencies for Rakazo
The template cannot generate a Railway API credential or a model account for you. These are the only outside account setup steps; no third-party sandbox service is required.
Deployment Dependencies
The template supplies Node.js 22, PostgreSQL 16, the application image and two persistent volumes. Railway supplies HTTPS and sandbox computers. No local software installation is needed.
Template Content
Postgres
postgres:16.13Rakazo
GDemay/rakazoOWNER_EMAIL
RAILWAY_API_TOKEN
