A ready-to-use Docker image for hosting the pg-boss Dashboard — a web-based UI for monitoring and managing pg-boss job queues.
The image is built on a minimal distroless base, runs as a non-root user, and supports both linux/amd64 and linux/arm64 platforms.
docker run -d \
-p 3000:3000 \
-e DATABASE_URL=postgres://user:password@host:5432/mydb \
anthonylau/pgboss-dashboard
Then open http://localhost:3000 in your browser.
| Variable | Description | Default |
|---|---|---|
DATABASE_URL | PostgreSQL connection string(s) for your pg-boss database. Supports multiple pipe-separated connections, optionally named: Production=postgres://prod/db|Staging=postgres://stage/db | postgres://localhost/pgboss |
PGBOSS_SCHEMA | Schema name(s) where pg-boss tables reside. For multiple databases, pipe-separate: pgboss|jobs | pgboss |
PORT | Port the dashboard listens on | 3000 |
PGBOSS_DASHBOARD_AUTH_USERNAME | Basic auth username (optional, must be set with password) | — |
PGBOSS_DASHBOARD_AUTH_PASSWORD | Basic auth password (optional, must be set with username) | — |
Note: Both
PGBOSS_DASHBOARD_AUTH_USERNAMEandPGBOSS_DASHBOARD_AUTH_PASSWORDmust be provided together. Setting only one will cause a startup error.
services:
pgboss-dashboard:
image: anthonylau/pgboss-dashboard:latest
ports:
- "3000:3000"
environment:
- DATABASE_URL=postgres://user:password@db:5432/mydb
DATABASE_URL=postgres://user:password@host:5432/mydb npx -y pg-boss migrate
This project packages the pg-boss Dashboard by timgit into a Docker image for easier deployment. All credit for the dashboard itself goes to the pg-boss project and its contributors.
Content type
Image
Digest
sha256:d03c4a2ea…
Size
60.7 MB
Last updated
3 months ago
docker pull anthonylau/pgboss-dashboard