Gramps Web: open registration, Storj credentials in the agent home, unpinned images #15

Open
opened 2026-11-16 10:39:02 -05:00 by polen · 0 comments
Owner

Problem

In modules/gramps-web.nix:

  1. GRAMPSWEB_REGISTRATION_DISABLED = "false": anyone can register on gramps.polensky.me. Each registration sends mail from polensky.me to an address the visitor chooses.
  2. The Storj credentials file is /var/lib/hermes/.storj-gramps.env, inside the agent's home and readable by the agent. It is also injected into the valkey container, which does not use it.
  3. Images use mutable tags (grampsweb:latest, valkey:8-alpine).

Fix

  • Set GRAMPSWEB_REGISTRATION_DISABLED = "true"; the owner creates the accounts.
  • Move the Storj credentials to sops (dotenv format) and drop environmentFiles from grampsweb-redis.
  • Pin the images to a version tag or digest.
## Problem In `modules/gramps-web.nix`: 1. `GRAMPSWEB_REGISTRATION_DISABLED = "false"`: anyone can register on `gramps.polensky.me`. Each registration sends mail from `polensky.me` to an address the visitor chooses. 2. The Storj credentials file is `/var/lib/hermes/.storj-gramps.env`, inside the agent's home and readable by the agent. It is also injected into the valkey container, which does not use it. 3. Images use mutable tags (`grampsweb:latest`, `valkey:8-alpine`). ## Fix - Set `GRAMPSWEB_REGISTRATION_DISABLED = "true"`; the owner creates the accounts. - Move the Storj credentials to sops (dotenv format) and drop `environmentFiles` from `grampsweb-redis`. - Pin the images to a version tag or digest.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
polen/nixos#15
No description provided.