Remove PostGIS password from image metadata
This commit is contained in:
@@ -1594,3 +1594,32 @@ Limitations:
|
||||
|
||||
Next recommended pass:
|
||||
- Run the full release-readiness gate and then rebuild/deploy to Tower for browser-facing verification.
|
||||
|
||||
## Sprint 35 Docker runtime secret hygiene (2026-06-17)
|
||||
|
||||
Changed:
|
||||
- Removed embedded PostGIS database name/user/password defaults from `deploy/unraid/Dockerfile.all-in-one` image metadata.
|
||||
- Kept database credentials as runtime configuration supplied by `.env`, the Unraid template, Compose or `docker run -e`.
|
||||
- Added regression coverage so `GEOINTEL_POSTGRES_PASSWORD` is not baked into the all-in-one Dockerfile again.
|
||||
- Updated Unraid runtime documentation and changelog.
|
||||
|
||||
Tested:
|
||||
- `cd backend && python -m pytest tests/test_sprint31_unraid_template.py tests/test_docker_runtime_config.py -q`
|
||||
- `bash -n deploy/unraid/all-in-one-start.sh`
|
||||
- `bash -n deploy/unraid/run-dockerman-container.sh`
|
||||
- `python -m compileall backend/app`
|
||||
- `cd backend && python -m pytest -W error::DeprecationWarning`
|
||||
- `cd frontend && npm run typecheck`
|
||||
- `cd frontend && npm run build`
|
||||
- `bash scripts/run_readiness_check.sh`
|
||||
- `cd backend && python -m alembic heads && python -m alembic upgrade head --sql`
|
||||
|
||||
Open:
|
||||
- Local Windows shell has no `docker` command in PATH, so Docker build/config verification must run on Tower during deploy.
|
||||
- Rebuild the Tower image and confirm the Docker BuildKit `SecretsUsedInArgOrEnv` warning is gone.
|
||||
|
||||
Limitations:
|
||||
- The start script still has safe local defaults for standalone/dev startup. Shared deployments should set `GEOINTEL_POSTGRES_PASSWORD` via runtime configuration.
|
||||
|
||||
Next recommended pass:
|
||||
- Run release readiness, rebuild/deploy Tower and verify browser/GIS/demo smoke again.
|
||||
|
||||
@@ -12,6 +12,7 @@ This file now starts with the current implementation status. Older preparation/b
|
||||
- [x] Run Docker/PostGIS live validation on Tower/Unraid.
|
||||
- [x] Add Unraid Compose template assets with editable ports, storage path and app icon.
|
||||
- [x] Add single-container Unraid runtime with embedded PostGIS, backend and frontend.
|
||||
- [x] Remove embedded PostGIS password defaults from all-in-one Docker image metadata.
|
||||
|
||||
## Current implementation status
|
||||
|
||||
|
||||
Reference in New Issue
Block a user