Skip to content
Container

Container

The image is published for these platforms:

PlatformHardware
linux/amd6464-bit x86
linux/arm6464-bit ARM, such as a Raspberry Pi 4 or 5
linux/arm/v632-bit ARM, such as a Raspberry Pi Zero
linux/38632-bit x86
linux/riscv6464-bit RISC-V

Pull it from either registry:

docker pull ghcr.io/nicholas-fedor/gpsu

Each release is tagged latest, by major version such as 1, by minor version such as 1.2, and by full version such as 1.2.3. Pin a version tag in production.

Image details

ItemValue
ContentsThe gpsu binary, CA certificates, and time zone data
User65534 (nobody)
Entry point/gpsu
Default commandserve
Root file systemCan be mounted read-only

Mounts

PathContents
/var/lib/gpsuThe SQLite database and its backups, on a local volume
/run/secrets/Secret files such as the seal key

Warning

SQLite needs local storage. Don’t put /var/lib/gpsu on a network file system.

Ports

PortServes
9465Metrics at /metrics and health checks at /healthz and /readyz
8080The web UI and the API, at the GPSU_LISTEN address

Run it

docker run -d --name gpsu \
  --read-only \
  --stop-timeout 30 \
  -e GPSU_PUBLIC_URL=https://gpsu.example.com \
  -e GPSU_SEAL_KEY_FILE=/run/secrets/seal-key \
  -v /srv/gpsu/secrets:/run/secrets:ro \
  -v gpsu-data:/var/lib/gpsu \
  -p 9465:9465 -p 8080:8080 \
  ghcr.io/nicholas-fedor/gpsu

The startup settings come from the environment. Read the setup code from the log with docker logs gpsu. Then follow the Quick Start.

Note

docker stop sends SIGTERM. gpsu then hands off every server’s fans to the iDRAC before it exits. --stop-timeout 30 gives it time to finish.

In Kubernetes, set readOnlyRootFilesystem: true and drop every capability.

Important

Let only one gpsu instance control each server. Two instances undo each other’s fan commands.