# Self-hosting and deployment

> Run HeyOrbit on your own infrastructure: requirements, Docker, environment variables, Postgres, the scheduler and cron, and file storage.

URL: https://heyorbit.tech/docs/self-hosting
Last updated: 2026-11-21

Run HeyOrbit on your own infrastructure: requirements, Docker, environment variables, Postgres, the scheduler and cron, and file storage.

1. [Self-hosting overview](https://heyorbit.tech/docs/self-hosting/overview): Requirements, the Docker image, docker-compose, running without Docker, first boot and upgrades.
2. [Environment variables](https://heyorbit.tech/docs/self-hosting/environment-variables): Every variable in .env with its purpose and default, grouped by what it switches on.
3. [Switching from SQLite to Postgres](https://heyorbit.tech/docs/self-hosting/postgres): Point DATABASE_URL at Postgres, switch the Prisma provider, push the schema, and move existing data.
4. [Cron and the scheduler](https://heyorbit.tech/docs/self-hosting/cron-scheduler): How publishing and background syncs run, and how to drive them with an external cron on serverless or multi-instance deployments.
5. [File storage](https://heyorbit.tech/docs/self-hosting/file-storage): Where uploads live, the supported object stores, direct uploads, and how to persist local files.
