Install
Bullship is one Node server with the UI built in. Pick how you run it; the settings are the same environment variables everywhere.
Docker image
Section titled “Docker image”The image is ghcr.io/bullshipped/bullship, for amd64 and arm64. Every release is tagged with its
version, its minor version and latest:
| Tag | Follows |
|---|---|
0.1.2 |
That release only |
0.1 |
The newest 0.1.x release |
latest |
The newest release without a prerelease suffix |
docker run -d --name bullship -p 3200:3200 \ -v bullship-data:/data \ -e REDIS_URL=redis://your-redis:6379 \ ghcr.io/bullshipped/bullship:0.1The image is Node plus one bundled server file and the UI, with no node_modules. It runs as the
non-root node user (uid 1000), keeps its data in /data, and has a health check on
/api/health.
To keep the data in a host directory instead of a named volume, make it writable by uid 1000 first:
mkdir data && sudo chown 1000 datadocker run -d -p 3200:3200 -v ./data:/data -e REDIS_URL=redis://your-redis:6379 ghcr.io/bullshipped/bullship:0.1The image declares VOLUME /data, so without -v Docker still keeps the data in a volume, but an
anonymous one that a new container won’t reuse: after an upgrade you’d start with no accounts.
Always name the volume or the directory.
Docker Compose
Section titled “Docker Compose”Save this as compose.yaml and run docker compose up -d. It starts Bullship and, for trying it
out, an empty Redis; replace the URL with your own Redis.
services: bullship: image: ghcr.io/bullshipped/bullship:0.1 ports: ['3200:3200'] environment: BULLSHIP_REDIS_URL_PRODUCTION: redis://redis:6379 volumes: ['bullship-data:/data'] restart: unless-stopped redis: image: redis:8-alpinevolumes: bullship-data:The repository’s own compose.yaml builds the image from source:
git clone https://github.com/bullshipped/bullship && cd bullshipdocker compose up -d # http://localhost:3200It watches an empty Redis until you give it yours. Put connections in a .env file next to
compose.yaml and run docker compose up -d again:
echo 'BULLSHIP_REDIS_URL_PRODUCTION=redis://host.docker.internal:6379' >> .envdocker compose up -dhost.docker.internal reaches a Redis on the Docker host, on Linux too. .env is ignored by
git, so passwords in the URLs stay local.
The bullship package is the bundled server and its UI with no dependencies, so it needs only
Node 24 or newer. Run it without installing:
REDIS_URL=redis://localhost:6379 npx bullship@0.1.1 # http://localhost:3200or install it once and run the bullship command:
npm install -g bullshipREDIS_URL=redis://localhost:6379 bullshipnpx may reuse a copy it fetched earlier; naming the version runs exactly that one. With no
REDIS_URL, Bullship starts with no connections and the app asks for one.
Outside Docker, the data directory is ~/.bullship unless BULLSHIP_DATA_DIR says otherwise.
From source
Section titled “From source”With Node 24 or newer and pnpm (npm install -g pnpm):
git clone https://github.com/bullshipped/bullship && cd bullshippnpm install && pnpm buildREDIS_URL=redis://localhost:6379 pnpm start # http://localhost:3200pnpm build leaves a self-contained server in apps/server/dist. Copy that directory anywhere
with Node and run it:
node --max-semi-space-size=1 server.jsThe flag keeps V8’s young generation small, which keeps peak memory down.
Check that it runs
Section titled “Check that it runs”/api/health answers anyone, for load balancers and the image’s health check:
curl -s http://localhost:3200/api/health# {"ok":true}Signed in, or with BULLSHIP_AUTH=false, it also shows the process’s memory, the Redis clients it holds
and the last metrics-history round:
{"ok":true,"process":{"rssBytes":101908480,"heapUsedBytes":27359544,"uptimeSeconds":4},"redisClients":1, …}At start, Bullship prints what it found:
Bullship listening on http://localhost:3200 connection default (prefix "bull") no accounts yet: the first person to open Bullship creates the admin account