Repository navigation
v1.6.0
·
1 commit
to main
since this release
v1.6.0 (2026-11-19)
Lighthouse answers other projects: lighthouse-api, a second container, gives a dashboard read-only access to the projects, their deploys and their releases.
Added
lighthouse-api: the same image run as/lighthouse api, on port 2300 of thesparknetwork with no port published. It reads the database aslighthouse_reader, which can't change anything, with at most 4 connections, and holds no Docker socket, control socket or Cove token. It runs as user 10001 with a read-only filesystem, no capabilities and a 64 MB memory limit.- Its answers:
GET /v1/projects(every project and its state:ok,failing,broken,stoppedornot_deployed),GET /v1/deployments(a time range, newest first, a page at a time),GET /v1/deployments/{id}(one deploy with its steps and their output, secrets already hidden) andGET /v1/releases. Every request butGET /healthzneeds a bearer token,SHARED_LIGHTHOUSE_VISTA_TOKEN. A wrong parameter is a400that names it. lighthouse health apiislighthouse-api's healthcheck.
Changed
- Lighthouse's compose file takes secrets:
LIGHTHOUSE_DATABASE_READER_URLandSHARED_LIGHTHOUSE_VISTA_TOKEN, forlighthouse-apionly, fetched from Cove by the deploy and handed to the update helper as v1.5.0 does. Create the token in Cove before deploying this version (generate SHARED_LIGHTHOUSE_VISTA_TOKEN 64). It needs v1.5.0 or newer running: an older Lighthouse can't hand secrets to its update helper. - A first install starts only the
lighthouseservice by hand, thendeploy lighthousefrom its prompt startslighthouse-apiwith its secrets (README, "Start Lighthouse").