Make Git repository scanning opt-in
All checks were successful
Docker / test-build-push (push) Successful in 36s

This commit is contained in:
Fredrik Johansson
2026-07-20 21:09:04 +02:00
parent 89459f1dad
commit 92dc59584b
3 changed files with 6 additions and 4 deletions

View File

@@ -2,5 +2,6 @@ PORT=3082
TRACE_PASSWORD=replace-me TRACE_PASSWORD=replace-me
# Project-scoped ingestion credentials: project:token pairs. # Project-scoped ingestion credentials: project:token pairs.
TRACE_RECEIPT_TOKENS=goonk:replace-with-a-long-random-token TRACE_RECEIPT_TOKENS=goonk:replace-with-a-long-random-token
# Comma-separated id:absolute-path pairs. Mount paths read-only in Docker. # Optional: comma-separated id:absolute-path pairs for deliberately mounted
TRACE_REPOS=goonk:/repos/goonk,flit:/repos/flit # read-only repository mirrors. Leave empty when production has no Git repos.
TRACE_REPOS=

View File

@@ -7,7 +7,9 @@ cp .env.example .env
npm start npm start
``` ```
Node 24+, no runtime dependencies. Uses built-in `node:sqlite`. Set `TRACE_PASSWORD`; configure read-only repositories through `TRACE_REPOS`. Nothing publishes automatically: export creates a draft under `data/exports/` for manual review. Node 24+, no runtime dependencies. Uses built-in `node:sqlite`. Set `TRACE_PASSWORD`. Nothing publishes automatically: export creates a draft under `data/exports/` for manual review.
Git candidate scanning is optional and disabled by default. If an installation deliberately mounts read-only repository mirrors, list their container paths in `TRACE_REPOS`; production receipt ingestion does not require repository access.
## Deployment receipts v1 ## Deployment receipts v1

View File

@@ -8,6 +8,5 @@ services:
ports: ["${HOST_PORT:-3082}:3082"] ports: ["${HOST_PORT:-3082}:3082"]
volumes: volumes:
- trace-data:/app/data - trace-data:/app/data
- ../goonk:/repos/goonk:ro
volumes: volumes:
trace-data: trace-data: