--- created: 2026-08-28 modified: 2026-08-28 type: project client: sam project: web-host-migration status: pending priority: 3 tags: - migration - nixos - docker - caddy - gpu aliases: - phase-3-local-infra id: 1848129021-P3 --- # Phase 3 — Local Infrastructure Prep on `.13` (no CMS migration) > Part of [[Migration Plan — InMotion to Local + AWS Offsite]]. > Depends-on: Phase 1 (AWS), can be parallel after. ## Goal Prepare `.13` to receive the incoming sites — **without** yet migrating CMS code/MySQL (separate project). ## Current verified state (2026-08-28) - `.13` Docker host; AMD RX 6600 replacing dead GTX 760 (driver: `amdgpu`). - Caddy on `.35` already reverse-proxies `*.lab.audasmedia.com.au` and `where-woof.com` → `.13:`. ## Sub-steps ### 3.1 GPU - [ ] Confirm AMD RX 6600 installed + `services.xserver.videoDrivers = [ "amdgpu" ]` on `.13`. - [ ] Verify KDE/Wayland/`glxinfo` + any Docker GPU passthrough needs. ### 3.2 Docker/Caddy readiness - [ ] Map the 5–6 CMS sites → target ports on `.13` (reserve ports). - [ ] Draft Caddy reverse_proxy entries (on `.35`) for each new site (do NOT apply until CMS migrated). - [ ] Prepare docker-compose volumes/dirs for incoming sites + DBs. ### 3.3 Control-plane (no cPanel) - [ ] Confirm NixOS + Docker + Caddy + Garage covers admin. Optional: Portainer for a GUI. - [ ] Note FLoci only for offline dev/test (not production). ### 3.4 GPU-media split (future-proofing) - [ ] Decide local-first (AMD) vs cloud (Lambda/MediaConvert/Batch) per job type — document for CMS project. - (Actual code/cron migration = separate project.) ## Acceptance criteria - `.13` GPU working (post-card-swap). - Port map + Caddy draft ready to activate when CMS arrives. - No changes to live routes until CMS migration project begins. --- *See [[Migration Plan — InMotion to Local + AWS Offsite]] §5, §7, §8.*