Skip to main content
Railway security incident (October 2026): Railway has disclosed that customer environment variables may have been accessed. If you run Open Wearables on Railway, rotate all secrets stored in your environment variables and review your logs for unusual activity. Railway builds are currently paused, so new deployments won’t work until they’re restored. See Railway’s disclosure for details and updates.
Railway provides the fastest way to get a production Open Wearables instance running. The template deploys all required services with sensible defaults - no manual infrastructure setup needed. Deploy on Railway
The template asks for ADMIN_EMAIL and ADMIN_PASSWORD on the Backend service, and the first startup creates the admin account from them (only while no developer account exists yet). Changing them later does not update that account, so change the password from the developer portal instead. Additional accounts are added by invitation from the developer portal.Deployed before the template required these variables? If your admin account still uses the public default password (your-secure-password), production refuses it at sign-in. On the Backend service set ADMIN_EMAIL to that account’s email and ADMIN_PASSWORD to a new password, then redeploy: on startup the account’s password is changed to the new value. Only the account whose email matches ADMIN_EMAIL is updated.

What gets deployed

The Railway template provisions seven services: All inter-service networking and environment variables are configured automatically by the template.

Post-deploy setup

1

Configure provider OAuth credentials

To enable wearable data syncing, add OAuth credentials for each provider you want to support on the Backend service.
You only need to configure providers you plan to use. See Supported Providers for setup instructions for each one.
2

Set up a custom domain (optional)

Railway assigns a default *.up.railway.app domain to each service. To use your own domain:
  1. Open your Frontend service in Railway
  2. Go to Settings > Networking > Custom Domain
  3. Add your domain and configure the DNS records as shown
Repeat for the Backend service if you want a custom API domain. Then update the following environment variables:

Environment variables reference

The Frontend service needs only VITE_API_URL, the public URL of the backend. See Frontend configuration for the optional API_URL. Key variables you may want to customize on the Backend service:
Database and Redis connection strings are injected automatically by Railway — you do not need to set these manually. REDIS_SSL defaults to false and is only needed if you swap Railway’s built-in Redis for an external managed instance with TLS enabled.

Supported Providers

Configure OAuth credentials for each wearable provider.

API Reference

Explore available API endpoints.