Skip to content

Install

Bullship is one Node server with the UI built in. Pick how you run it; the settings are the same environment variables everywhere.

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.1

The 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 data
docker run -d -p 3200:3200 -v ./data:/data -e REDIS_URL=redis://your-redis:6379 ghcr.io/bullshipped/bullship:0.1

The 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.

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-alpine
volumes:
bullship-data:

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:3200

or install it once and run the bullship command:

npm install -g bullship
REDIS_URL=redis://localhost:6379 bullship

npx 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.

With Node 24 or newer and pnpm (npm install -g pnpm):

git clone https://github.com/bullshipped/bullship && cd bullship
pnpm install && pnpm build
REDIS_URL=redis://localhost:6379 pnpm start # http://localhost:3200

pnpm 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.js

The flag keeps V8’s young generation small, which keeps peak memory down.

/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