Add Unraid all-in-one runtime
This commit is contained in:
@@ -1,3 +1,32 @@
|
||||
## Sprint 32 Unraid all-in-one runtime (2026-06-17)
|
||||
|
||||
Changed:
|
||||
- Added `docker-compose.unraid.yml` for a single editable `geointel` container on Unraid.
|
||||
- Added `deploy/unraid/Dockerfile.all-in-one` to build one image containing embedded PostGIS, backend GIS runtime, nginx and frontend static assets.
|
||||
- Added `deploy/unraid/all-in-one-start.sh` to start embedded PostGIS, apply Alembic migrations, start FastAPI on internal localhost and serve nginx on container port 80.
|
||||
- Added `deploy/unraid/nginx-all-in-one.conf` so `/api` and `/health` proxy to `127.0.0.1:8000` inside the same container.
|
||||
- Updated `deploy/unraid/geointel.env.example`, Unraid XML template and README for one-container operation and editable web/storage/database paths.
|
||||
- Updated Tower deploy scripts to stop the old multi-container stack without deleting volumes and start `docker-compose.unraid.yml`.
|
||||
- Updated `scripts/live_migration_smoke.sh` to support both all-in-one `geointel` and legacy `backend` Compose services.
|
||||
- Added root `.dockerignore` for all-in-one builds.
|
||||
- Updated Sprint 31 tests to cover the all-in-one Dockerfile, startscript, nginx config, deploy scripts and template metadata.
|
||||
|
||||
Validation:
|
||||
- `python -m pytest backend/tests/test_sprint31_unraid_template.py backend/tests/test_live_migration_smoke_script.py backend/tests/test_docker_runtime_config.py` passed: 26 tests.
|
||||
- `cd frontend && npm run typecheck` passed.
|
||||
- `cd frontend && npm run build` passed.
|
||||
- `python -m compileall backend/app` passed.
|
||||
- `cd backend && python -m pytest` passed: 179 tests.
|
||||
- `bash scripts/run_readiness_check.sh` passed: 179 backend tests, frontend typecheck/build, Alembic head check and script syntax checks.
|
||||
- `cd backend && python -m alembic heads` passed: single head `202606120900`.
|
||||
- `cd backend && python -m alembic upgrade head --sql` passed.
|
||||
- `bash -n scripts/live_migration_smoke.sh` passed.
|
||||
- `bash -n deploy/unraid/all-in-one-start.sh` passed.
|
||||
|
||||
Notes:
|
||||
- No API contracts, migrations, product features, provider fetching or AI behavior changed.
|
||||
- Local Windows environment does not have `docker` in PATH; Tower deployment should provide the live all-in-one Docker validation.
|
||||
|
||||
## Sprint 31 Unraid deployment template (2026-06-17)
|
||||
|
||||
Changed:
|
||||
|
||||
@@ -11,6 +11,7 @@ This file now starts with the current implementation status. Older preparation/b
|
||||
- [x] Add Docker build context ignores for backend and frontend.
|
||||
- [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.
|
||||
|
||||
## Current implementation status
|
||||
|
||||
@@ -43,6 +44,7 @@ This file now starts with the current implementation status. Older preparation/b
|
||||
- [x] Dataset detail, raster controls and vector controls component decomposition.
|
||||
- [x] QA/QC results and map workspace component decomposition.
|
||||
- [x] Docker Compose port/storage/database configuration via `.env` defaults for Unraid.
|
||||
- [x] Single-container `geointel` Unraid compose/template runtime.
|
||||
- [ ] Further frontend component decomposition for export preview and shared workbench orchestration.
|
||||
|
||||
## Sprint 8 status
|
||||
|
||||
Reference in New Issue
Block a user