devops: bootstrap Renovate config for production deps (MinIO, mc, Postgres, Node, Caddy, mailpit) #500

Open
opened 2026-05-11 13:19:22 +02:00 by marcel · 0 comments
Owner

Background

The repository's renovate.json only configures TipTap grouping. The production stack pins five third-party images via docker-compose.prod.yml:

  • postgres:16-alpine
  • minio/minio:RELEASE.2025-02-28T09-55-16Z
  • minio/mc:RELEASE.2025-08-13T08-35-41Z
  • axllent/mailpit:v1.29.7
  • node:20.19.0-alpine3.21 (via frontend/Dockerfile)
  • caddy:2 (Caddy is installed on the host, not via compose — but the same patch-lag risk applies)

Without an active Renovate config tracking these, the pins rot. Operator must remember to bump manually, which means in practice CVE bumps lag months.

This was flagged on PR #499 by Tobi (DevOps review, comment #8352) and Elicit (Requirements review, comment #8356, OQ-1).

Scope

Update renovate.json to:

  1. Extend config:base (or config:recommended) for the standard Docker / GitHub Actions / npm / Maven update rules.
  2. Add a dockerfile and docker-compose manager so the pinned image tags above are auto-tracked.
  3. Group updates by ecosystem (one PR per: docker images, npm devDeps, Maven deps) to keep the review surface manageable.
  4. Set a sensible auto-merge policy for minor/patch updates on dev-only deps; require manual review for production images and any major bumps.
  5. Confirm with the Gitea operator that the Renovate bot has access to the repository — if not, file the access-grant step here.

Acceptance criteria

  • renovate.json covers the five production image pins
  • First Renovate dependency-dashboard PR appears within 24h of merge
  • docker-compose.prod.yml comments about Renovate keeping pins current are accurate again (currently stripped in PR #499)

References

  • PR #499 — DevOps review (Tobi, #8352)
  • PR #499 — Requirements review (Elicit, #8356, OQ-1)
  • PR #499 — comment-strip commit reverting the aspirational language
## Background The repository's `renovate.json` only configures TipTap grouping. The production stack pins five third-party images via `docker-compose.prod.yml`: - `postgres:16-alpine` - `minio/minio:RELEASE.2025-02-28T09-55-16Z` - `minio/mc:RELEASE.2025-08-13T08-35-41Z` - `axllent/mailpit:v1.29.7` - `node:20.19.0-alpine3.21` (via `frontend/Dockerfile`) - `caddy:2` (Caddy is installed on the host, not via compose — but the same patch-lag risk applies) Without an active Renovate config tracking these, the pins rot. Operator must remember to bump manually, which means in practice CVE bumps lag months. This was flagged on PR #499 by Tobi (DevOps review, comment [#8352](https://git.raddatz.cloud/marcel/familienarchiv/pulls/499#issuecomment-8352)) and Elicit (Requirements review, comment [#8356](https://git.raddatz.cloud/marcel/familienarchiv/pulls/499#issuecomment-8356), OQ-1). ## Scope Update `renovate.json` to: 1. Extend `config:base` (or `config:recommended`) for the standard Docker / GitHub Actions / npm / Maven update rules. 2. Add a `dockerfile` and `docker-compose` manager so the pinned image tags above are auto-tracked. 3. Group updates by ecosystem (one PR per: docker images, npm devDeps, Maven deps) to keep the review surface manageable. 4. Set a sensible auto-merge policy for minor/patch updates on dev-only deps; require manual review for production images and any major bumps. 5. Confirm with the Gitea operator that the Renovate bot has access to the repository — if not, file the access-grant step here. ## Acceptance criteria - [ ] `renovate.json` covers the five production image pins - [ ] First Renovate dependency-dashboard PR appears within 24h of merge - [ ] `docker-compose.prod.yml` comments about Renovate keeping pins current are accurate again (currently stripped in PR #499) ## References - PR #499 — DevOps review (Tobi, [#8352](https://git.raddatz.cloud/marcel/familienarchiv/pulls/499#issuecomment-8352)) - PR #499 — Requirements review (Elicit, [#8356](https://git.raddatz.cloud/marcel/familienarchiv/pulls/499#issuecomment-8356), OQ-1) - PR #499 — comment-strip commit reverting the aspirational language
marcel added the P2-mediumdevops labels 2026-05-11 13:19:26 +02:00
Sign in to join this conversation.
No Label P2-medium devops
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: marcel/familienarchiv#500