What gets deployed
The Railway template provisions seven services:
All inter-service networking and environment variables are configured automatically by the template.
The Celery Worker exits until the Backend has applied the database migrations, and whenever one of its workers stops. Keep its restart policy at On Failure or Always, and allow enough retries for a slow migration: each attempt waits up to two minutes.
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.
2
Set up a custom domain (optional)
Railway assigns a default
*.up.railway.app domain to each service. To use your own domain:- Open your Frontend service in Railway
- Go to Settings > Networking > Custom Domain
- Add your domain and configure the DNS records as shown
Environment variables reference
The Frontend service needs onlyVITE_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.Related guides
Supported Providers
Configure OAuth credentials for each wearable provider.
API Reference
Explore available API endpoints.