One Bit Stack
Self-host

Docker install profile

Bundled Postgres, Redis, and optional app stack for control plane installs.

Database + Redis only (default)

Use docker-compose.install.yml for Postgres and Redis while running the app via systemd or PM2 on the host:

docker compose -f docker-compose.install.yml up -d
ServicePurpose
postgresControl plane database (central schema via app migrations)
redisBullMQ deploy queue

Full stack (--profile app)

Run the control plane app and deploy worker in Docker as well:

cp .env.production.example .env
# Set NEXT_PUBLIC_APP_URL, secrets, etc.
docker compose -f docker-compose.install.yml --profile app up -d --build
ServicePurpose
central-serverNext.js control plane
central-workerBullMQ deploy worker

The compose file overrides DATABASE_URL and REDIS_URL to use internal service hostnames.

Default Postgres credentials are for development only. Change passwords before production.

Stop services:

docker compose -f docker-compose.install.yml --profile app down

External managed Postgres/Redis is supported — set DATABASE_URL and REDIS_URL in .env and use the default profile without app.

On this page