From 9f67f108a9feddc7ff7a0defceec16987a6a47cf Mon Sep 17 00:00:00 2001 From: kiskaadee Date: Mon, 20 Apr 2026 19:00:26 -0500 Subject: [PATCH] docs: add project roadmap and development milestones - Formalize development phases (Core, Dashboard, Services, Network) - Define implementation best practices for Python/Docker SDK integration - Establish security standards for ACME storage and socket access - Move roadmap to dedicated documentation directory for better project structure --- docs/roadmap.md | 53 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 docs/roadmap.md diff --git a/docs/roadmap.md b/docs/roadmap.md new file mode 100644 index 0000000..234cf20 --- /dev/null +++ b/docs/roadmap.md @@ -0,0 +1,53 @@ +# πŸ—ΊοΈ Project Roadmap: Arch-traefik-hub + +This document outlines the development phases for the **Arch-traefik-hub** ecosystem, focusing on security, observability, and service scalability. + +## Phase 1: Core Gateway & Security πŸ”’ +*The objective is to establish a hardened "Front Door" with automated certificate management.* + +- [ ] **Credential Provisioning:** Configure the `.env` layer using Dynu API credentials. +- [ ] **Infrastructure Initialization:** Execute the `up.sh` deployment orchestration script. +- [ ] **ACME Validation:** Monitor Traefik logs to verify successful **DNS-01 challenges** and SSL certificate issuance. +- [ ] **Traffic Verification:** Confirm secure $HTTPS$ routing to the gateway via the `*.arch-services.mywire.org` TLD. + +## Phase 2: Observability & Management Dashboard πŸ“Š +*Transitioning from CLI-based management to a centralized visual interface.* + +- [ ] **Full-Stack Dashboard:** Develop a FastAPI-backed JS frontend to consume real-time container metadata. +- [ ] **Dockerization:** Containerize the Python dashboard and deploy it as a core service within the `proxy-net`. +- [ ] **Log Stream Integration:** Implement deep-linking between the custom dashboard and **Dozzle** for instant per-service log access. + +## Phase 3: Service Ecosystem Expansion πŸš€ +*Deploying high-utility services while maintaining network isolation and resource efficiency.* + +- [ ] **Visual Collaboration:** Deploy and configure **Excalidraw** and **Mermaid** for local diagramming. +- [ ] **Local AI Hub:** Optimize the **Ollama** deployment with load-balanced replicas for high-availability inference. +- [ ] **Performance Profiling:** Establish baseline CPU/RAM metrics to ensure host stability across all active services. + +## Phase 4: Network Optimization & Resilience 🌐 +*Optimizing the home network for low-latency and local-first access.* + +- [ ] **Local DNS Resolution:** (Optional) Integrate a DNS sinkhole (e.g., Pi-hole) to resolve hostnames locally, reducing reliance on external DNS lookups. +- [ ] **Cross-Device Validation:** Audit **NAT Hairpinning** performance to ensure seamless access from mobile and IoT devices on the local Wi-Fi. + +--- + +## πŸ’‘ Implementation Best Practices + +### Network Resolution in Python +When querying the Docker socket via the Python SDK, ensure the logic is resilient to Docker Compose project naming (which often prepends directory names to network strings): + +```python +# Use partial matching to find the proxy-net membership +if any("proxy-net" in net for net in networks.keys()): + # logic for proxy-registered containers +``` + +### Security Standards +- **ACME Storage:** The `acme.json` file must maintain `600` permissions to be accepted by the Traefik provider. +- **Socket Access:** The Docker socket is mounted as `ro` (Read-Only) wherever possible to adhere to the principle of least privilege. + +--- + +### How to use this roadmap +This roadmap is updated as features are merged into the `main` branch. Contributions to the service templates or dashboard logic are welcome via Pull Requests.