Nightcap is a self-hosted club finance cockpit built for nightclub and event venue operators. It tracks revenue, expenses, partners, artists, and vendors — all in one place, running entirely in a single Docker container with an embedded SQLite database.
services:
app:
image: pantelis98765/nightcap:latest
container_name: nightcap
restart: unless-stopped
ports:
- "5000:5000"
environment:
DATABASE_PATH: /data/nightcap.db
JWT_SECRET: change-this-to-a-random-secret-key
volumes:
- nightcap_data:/data
volumes:
nightcap_data:
docker compose up -d
Open http://localhost:5000 — first login: admin / admin123 (change immediately in Settings).
| Variable | Required | Default | Description |
|---|---|---|---|
| JWT_SECRET | Yes (prod) | dev-only value | Secret for signing JWTs. Use openssl rand -hex 32. |
| DATABASE_PATH | No | /data/nightcap.db | Path to the SQLite database file |
| ALLOWED_ORIGINS | No | (allow all) | Comma-separated allowed CORS origins |
docker run --rm -v nightcap_data:/data -v $(pwd):/out alpine \
cp /data/nightcap.db /out/nightcap-backup.db
Multi-arch image: linux/amd64 + linux/arm64 (Raspberry Pi / Apple Silicon servers).
Content type
Image
Digest
sha256:cf5645c5f…
Size
409.7 MB
Last updated
3 months ago
docker pull pantelis98765/nightcap