Skip to main content

Railway

Deploy Expo Open OTA using Railway, a platform for deploying and managing applications.

Deploy on Railway using template​

Deploy on Railway

The template provisions everything needed to run the server:

  • The Expo Open OTA server.
  • A Railway storage bucket (S3-compatible), used as the update storage backend. The storage environment variables (STORAGE_MODE, S3_BUCKET_NAME, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION, AWS_BASE_ENDPOINT) are automatically wired to the bucket — no external storage provider or manual storage configuration is required.
  • A randomly generated JWT_SECRET.

Fill in the remaining environment variables​

During deployment, you will be prompted for the variables the template cannot generate for you — mainly your Expo credentials and signing keys:

  • EXPO_APP_ID and EXPO_ACCESS_TOKEN
  • PUBLIC_EXPO_KEY_B64 and PRIVATE_EXPO_KEY_B64 (code signing certificate, with KEYS_STORAGE_TYPE=environment)

See the environment variables reference for the full list of supported options (dashboard, cache, CDN...).

tip

No CDN configuration is needed on Railway: assets are served through the server directly from the bucket.