Skip to main content

Custom Deployment

Deploy Expo Open OTA on your own infrastructure with docker.

Pull docker image

docker pull ghcr.io/axelmarciano/expo-open-ota:latest

Run docker container

You can use a .env file to set the environment variables required by the server and run

docker run --rm -it --env-file .env --platform linux/amd64 ghcr.io/axelmarciano/expo-open-ota:latest

Or you can pass the environment variables directly to the docker run command

docker run --rm -it -e PORT=3000 -e ENV_KEY=value ... --platform linux/amd64 ghcr.io/axelmarciano/expo-open-ota:latest

The server is now running on port 3000.

warning

A public HTTPS endpoint is required for the expo client to fetch the updates. You can use a reverse proxy like Nginx or Traefik to expose the server to the internet.