From 55350ddd7c4aa20bda30b8b7f6d14d1ed1ba668f Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Wed, 11 Mar 2026 23:13:45 -0400 Subject: [PATCH] Add more server names.... --- docker-compose.yml | 2 +- documentation/TODO__Agents.md | 52 +++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 documentation/TODO__Agents.md diff --git a/docker-compose.yml b/docker-compose.yml index de07b5f..1e733d9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -12,7 +12,7 @@ services: - PGID=1000 - TZ=US/Eastern - - NGINX_SERVER_NAMES="flask_gunicorn.localhost demo.localhost dev.localhost dev.oneskyit.com dev-app.oneskyit.com dev-connect.oneskyit.com dev-demo.oneskyit.com dev-aacc.oneskyit.com dev-aapor.oneskyit.com dev-ascm.oneskyit.com dev-businessgroup.oneskyt.com dev-chow.oneskyit.com dev-cmsc.oneskyit.com dev-idaa.oneskyit.com dev-ishlt.oneskyit.com dev-lci.oneskyit.com dev-ncsd.oneskyit.com dev-npa.oneskyit.com dev-rli.oneskyit.com test-app.oneskyit.com" + - NGINX_SERVER_NAMES="flask_gunicorn.localhost demo.localhost dev.localhost dev.oneskyit.com dev-app.oneskyit.com dev-connect.oneskyit.com dev-demo.oneskyit.com dev-aacc.oneskyit.com dev-aapor.oneskyit.com dev-ascm.oneskyit.com dev-businessgroup.oneskyt.com dev-chow.oneskyit.com dev-cmsc.oneskyit.com dev-idaa.oneskyit.com dev-ishlt.oneskyit.com dev-lci.oneskyit.com dev-ncsd.oneskyit.com dev-npa.oneskyit.com dev-rli.oneskyit.com test-app.oneskyit.com test-api.oneskyit.com test-demo.oneskyit.com test-lci.oneskyit.com test-idaa.oneskyit.com" ports: - "${OSIT_WEB_HTTP_PORT}:80" # LAN HTTP (local access without SSL) # - "${OSIT_WEB_HTTPS_PORT}:443" # HTTPS — not needed internally; terminate SSL at home server diff --git a/documentation/TODO__Agents.md b/documentation/TODO__Agents.md new file mode 100644 index 0000000..1f21150 --- /dev/null +++ b/documentation/TODO__Agents.md @@ -0,0 +1,52 @@ +# Aether Platform - Strategic TODO (Agents & Operations) + +This document tracks high-impact architectural improvements to the Aether Docker Environment and its connected services. These tasks focus on stability, security, and developer experience (DX). + +--- + +## 🛠️ Infrastructure & Orchestration + +### **1. Container Healthchecks (Self-Healing)** +- [x] **FastAPI Healthcheck:** Added a `/health` endpoint to `aether_api_fastapi` that verifies DB and Redis connectivity. +- [ ] **Docker Integration:** Update `docker-compose.yml` to use `healthcheck` for `ae_api` and `ae_app`. (Manual testing complete, next step is automation). +- [ ] **Dependency Ordering:** Use `condition: service_healthy` in `depends_on` blocks to ensure services start in the correct order. + +### **2. Environment Abstraction & Safety** +- [ ] **IP Abstraction:** Move the hardcoded workstation IP (`192.168.32.7`) to an `.env` variable (e.g., `AE_HOST_IP`) and reference it in `extra_hosts`. +- [ ] **Env Validation:** Create a `scripts/validate_env.sh` to compare `.env` against `env.default` and catch missing keys or malformed values. +- [ ] **Secret Scanning:** Implement a pre-commit hook or script to ensure no sensitive credentials (from `.env` or backups) are accidentally staged. + +### **3. Operational Tooling (The "Easy Button")** +- [ ] **Master Makefile:** Create a `Makefile` in the orchestration root for common commands: + - `make up` / `make down` + - `make build-ui` / `make build-api` + - `make db-backup` / `make db-restore` + - `make logs` +- [ ] **Unified Logs:** Enhance `ae_ops` to provide a consolidated view of critical system errors across all containers. + +--- + +## 🐍 Backend (FastAPI) Modernization + +### **4. Configuration via Pydantic Settings** +- [x] **Refactor `app/config.py`:** Switched from the mounted file pattern to `pydantic-settings`. +- [x] **Environment Injection:** API now inherits all settings directly from Docker environment variables. +- [ ] **V2 Migration:** (Long Term) Prepare for the upgrade to Pydantic V2 and SQLAlchemy 2.0. + +### **5. Dependency Management** +- [x] **Lockfiles:** Created `requirements.lock` to ensure bit-identical builds across environments. +- [x] **Pruning:** Conducted a final audit of the FastAPI base image and removed 6 redundant Python dependencies. + +--- + +## 🌐 Frontend (SvelteKit) Enhancements + +### **6. Build & Runtime Optimization** +- [ ] **Image Size:** Optimize the multi-stage Dockerfile to further reduce the final runtime image size. +- [ ] **Cache Warming:** Implement a mechanism to warm the SvelteKit / Dexie cache on first load for better UX. + +--- + +## 📝 Governance +- This list is managed by **Scott Idem** and **Aether Agents**. +- Tasks should be moved to the [Kanban Board] (via `ae_task_add`) when active work begins.