diff --git a/docs/MIGRATION_TODO.md b/docs/MIGRATION_TODO.md index 1f8048a..9b06987 100644 --- a/docs/MIGRATION_TODO.md +++ b/docs/MIGRATION_TODO.md @@ -53,61 +53,57 @@ See [CLUSTER_REVAMP.md](./CLUSTER_REVAMP.md) for detailed procedures. ### Core Infrastructure (CRITICAL) - [x] mysql.hcl - moved to zippy, using `/data/services` -- [ ] postgres.hcl - update paths, add affinity for zippy -- [ ] redis.hcl - update paths, add affinity for zippy -- [ ] traefik.hcl - update paths (already floating) -- [ ] authentik.hcl - verify (stateless, no changes needed) +- [x] postgres.hcl - migrated to `/data/services` +- [x] redis.hcl - migrated to `/data/services` +- [x] traefik.hcl - migrated to `/data/services` +- [x] authentik.hcl - stateless, no changes needed ### Monitoring Stack (HIGH) -- [ ] prometheus.hcl - update paths -- [ ] grafana.hcl - update paths -- [ ] loki.hcl - update paths -- [ ] vector.hcl - remove glusterfs log collection +- [x] prometheus.hcl - migrated to `/data/services` +- [ ] grafana.hcl - still using `/data/compute` +- [x] loki.hcl - migrated to `/data/services` +- [ ] vector.hcl - needs update to remove glusterfs log collection (line 26, 101-109) ### Databases (HIGH) -- [ ] clickhouse.hcl - update paths, add affinity for zippy -- [ ] unifi.hcl - update paths (includes mongodb) +- [x] clickhouse.hcl - migrated to `/data/services` +- [x] unifi.hcl - migrated to `/data/services` (includes mongodb) ### Web Applications (HIGH-MEDIUM) -- [ ] wordpress.hcl - update from `/data/sync/wordpress` to `/data/services/wordpress` -- [ ] gitea.hcl - update paths -- [ ] wiki.hcl - update paths, verify with exec driver -- [ ] plausible.hcl - verify (stateless) +- [x] wordpress.hcl - migrated to `/data/services` +- [ ] gitea.hcl - still using `/data/compute` +- [ ] wiki.hcl - uses `appdata` volume (points to `/data/compute/appdata`) +- [x] plausible.hcl - stateless, no changes needed +- [ ] tiddlywiki.hcl - uses `appdata` volume (points to `/data/compute/appdata`) ### Web Applications (LOW, may be deprecated) -- [ ] ghost.hcl - update paths or remove (no longer used?) -- [ ] vikunja.hcl - update paths or remove (no longer used?) -- [ ] leantime.hcl - update paths or remove (no longer used?) - -### Network Infrastructure (HIGH) -- [ ] unifi.hcl - update paths (already listed above) +- [ ] vikunja.hcl - still using `/data/compute` (check if still needed) ### Media Stack (MEDIUM) -- [ ] media.hcl - update paths, add constraint for fractal - - [ ] radarr, sonarr, bazarr, plex, qbittorrent +- [x] media.hcl - migrated to `/data/services` ### Utility Services (MEDIUM-LOW) -- [ ] evcc.hcl - update paths -- [ ] weewx.hcl - update paths -- [ ] code-server.hcl - update paths -- [ ] beancount.hcl - update paths -- [ ] adminer.hcl - verify (stateless) -- [ ] maps.hcl - update paths -- [ ] netbox.hcl - update paths -- [ ] farmos.hcl - update paths -- [ ] urbit.hcl - update paths -- [ ] webodm.hcl - update paths -- [ ] velutrack.hcl - verify paths -- [ ] resol-gateway.hcl - verify paths -- [ ] igsync.hcl - update paths -- [ ] jupyter.hcl - verify paths -- [ ] whoami.hcl - verify (stateless test service) -- [ ] tiddlywiki.hcl - update paths (if separate from wiki.hcl) +- [x] evcc.hcl - migrated to `/data/services` +- [ ] weewx.hcl - still using `/data/compute` +- [x] code-server.hcl - migrated to `/data/services` +- [x] beancount.hcl - migrated to `/data/services` +- [x] adminer.hcl - stateless, no changes needed +- [x] maps.hcl - migrated to `/data/services` +- [x] netbox.hcl - migrated to `/data/services` +- [ ] farmos.hcl - still using `/data/compute` +- [x] urbit.hcl - migrated to `/data/services` +- [ ] webodm.hcl - still using `/data/compute` +- [x] velutrack.hcl - migrated to `/data/services` +- [ ] resol-gateway.hcl - uses `code` volume (points to `/data/compute/code`) +- [ ] igsync.hcl - uses `appdata` volume (points to `/data/compute/appdata`) +- [ ] jupyter.hcl - still using `/data/compute` +- [x] whoami.hcl - stateless test service, no changes needed ### Backup Jobs (HIGH) - [x] mysql-backup - moved to zippy, verified -- [ ] postgres-backup.hcl - verify destination -- [ ] wordpress-backup.hcl - verify destination +- [x] postgres-backup.hcl - migrated to `/data/services` + +### Host Volume Definitions (CRITICAL) +- [ ] common/nomad.nix - update host_volume paths from `/data/compute/{appdata,code}` to `/data/services/{appdata,code}` ### Verification - [ ] All services healthy in Nomad @@ -148,6 +144,22 @@ See [CLUSTER_REVAMP.md](./CLUSTER_REVAMP.md) for detailed procedures. --- -**Last updated**: 2025-10-22 -**Current phase**: Phase 2 complete (zippy storage setup done), ready for Phase 3 (GlusterFS → NFS migration) +**Last updated**: 2025-10-23 +**Current phase**: Phase 4 in progress (19/35 services migrated, 11 still need migration, 4 stateless) **Note**: Phase 1 (fractal NixOS conversion) deferred until after GlusterFS migration is complete + +## Migration Summary + +**Already migrated to `/data/services` (19 services):** +mysql, mysql-backup, postgres, postgres-backup, redis, clickhouse, prometheus, loki, unifi, wordpress, traefik, evcc, netbox, urbit, code-server, beancount, velutrack, maps, media + +**Still need migration (11 services):** +- Direct `/data/compute` references: grafana, gitea, vikunja, weewx, farmos, webodm, jupyter +- Host volume references: wiki (appdata), tiddlywiki (appdata), igsync (appdata), resol-gateway (code) + +**Stateless/no changes needed (4 services):** +authentik, adminer, plausible, whoami + +**Configuration updates needed:** +- vector.hcl: remove glusterfs log collection +- common/nomad.nix: update host_volume paths