Here to get her running rather than to size a server?
Self-Hosting Overview points you at the right guide.
Hardware
Recommended starting point for a small team (≤ 20 users):Building from source runs out of memory first
Building from source runs out of memory first
The build step (
pnpm install / pnpm build from source) is the most memory-hungry part and
can OOM on 2 GB VMs. Bump the Node heap if it fails:Recommended install path
The canonical self-host setup is the official Docker Compose repo.postqueen-docker-compose
Pre-wired PostQueen + Postgres + Redis + Temporal. The fastest way to a working install.
Required services
Three are required. The fourth is optional, because local disk works.The official docker-compose ships
Postgres, Redis, and Temporal pre-wired. If you are running them externally, point PostQueen at
them via
DATABASE_URL, REDIS_URL, and TEMPORAL_ADDRESS.Default ports
Filesystem
Uploaded media needs somewhere that survives a container being replaced. On the official image that is a volume mounted at/uploads, which the Compose file already sets up for you. Budget
disk for it, since video adds up quickly.
Outbound network
PostQueen initiates outbound HTTPS to every social provider you connect. Strict egress firewalls will break OAuth. Make sure the backend can reach:api.twitter.com,upload.twitter.comgraph.facebook.com,graph.instagram.com,graph.threads.netlinkedin.com,api.linkedin.comopenapi.tiktok.com,open.tiktokapis.comgoogleapis.com(YouTube + GMB)- the Mastodon instance you configure via
MASTODON_URL - any other provider you intend to use
Inbound network
The frontend talks to the backend from the browser, soNEXT_PUBLIC_BACKEND_URL must be
reachable from your users’ browsers, not just from the frontend SSR server.
A reverse proxy in front of her is the typical setup:
Domain and HTTPS.
Next steps
Try her locally
The whole stack on your own machine in about five minutes
Deploy to a server
An empty virtual machine to your own domain, with HTTPS
Configuration reference
Every setting she reads, and what happens when you leave one out
Backups and upgrades
Which volumes hold data you cannot rebuild, and how to restore one