v0.2.0-alpha #2

Merged
scriptos merged 5 commits from v0.2.0-alpha into master 2026-04-05 17:56:48 +00:00
Owner
No description provided.
scriptos added 4 commits 2026-04-05 17:42:55 +00:00
Root cause: .env.example used relative paths (./data/...) which resolve
to /app/data/ inside the container instead of the persistent volume at
/data/. This caused the database to be recreated on every container
restart, resetting the admin password to a new initial value.

Fixes:
- .env.example: comment out path settings with clear warning about
  relative paths; Dockerfile already provides correct absolute defaults
- auth: add initial_setup_complete flag in settings table as
  defence-in-depth so EnsureAdmin never re-creates an admin after
  the initial setup, even if the users table is unexpectedly empty
- main: add validateDataPaths() startup check that warns when relative
  container paths are detected (potential data-loss misconfiguration)
- auth_test: extend TestEnsureAdmin to verify the flag prevents
  admin re-creation after user deletion
fix: add entrypoint.sh to fix /data permission denied on bind-mount
Some checks failed
PR Tests / Lint, Build & Test (pull_request) Has been cancelled
Security Scan / Go Vulnerability Check (pull_request) Has been cancelled
be05dd5eac
scriptos added 1 commit 2026-04-05 17:45:53 +00:00
docs: add container registry URL to deployment docs and README
All checks were successful
PR Tests / Lint, Build & Test (pull_request) Successful in 5m0s
Security Scan / Go Vulnerability Check (pull_request) Successful in 4m46s
025d23e5a6
scriptos merged commit 0fcd99a191 into master 2026-04-05 17:56:48 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: scriptos/keywarden#2