mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-26 00:44:38 +02:00
infra(phase 2f-1 rollback): verdaccio bleibt auf Mac Mini
Phase 2f-1 hatte verdaccio von der Mini auf die GPU-Box verlegt — das
Storage-Volume kam dort aber nie an. Der GPU-Container war leer (keine
htpasswd, keine @mana/*-Pakete), externe `npm install @mana/foo` lief
auf 404. Rollback statt Storage-Migration nachzuholen, weil:
- Mini's Standalone-Verdaccio (~/projects/verdaccio/) hat alle Daten
inklusive claudebot-Service-Account und 9 published Pakete
- npm-Reads sind ohnehin niedrig (CI-builds), Mini-Disk hat Platz
- Vereinfacht den User-/Token-Pflad-Lebenszyklus (eine Quelle, keine
Sync-Choreografie)
Cleanup:
- DNS npm.mana.how zurück auf Mini-Tunnel via Cloudflare-API
- Mini cloudflared-config.yml: npm.mana.how-Ingress wieder eingetragen
- GPU-Box: verdaccio-Container + 3 Volumes entfernt (mana_verdaccio-storage,
mana_verdaccio-plugins, verdaccio-storage)
- infrastructure/docker-compose.gpu-box.yml: verdaccio-Service-Block raus
- infrastructure/verdaccio/config.yaml: gelöscht (war GPU-spezifischer
Bundle, der Code/mana hat die kanonische Kopie für Mini)
- docs/PLAN_OPTION_C.md: Phase 2f markiert als ⚠️ teilweise zurückgerollt
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
5dbc9ace2d
commit
aeaefaf675
5 changed files with 12 additions and 121 deletions
|
|
@ -485,14 +485,6 @@ services:
|
|||
retries: 3
|
||||
start_period: 30s
|
||||
|
||||
# ============================================
|
||||
# Phase 2f-1 — Verdaccio npm-Registry (2026-05-07)
|
||||
# @mana/* private packages. Migrated from Mini (was in mana-platform
|
||||
# repo's infrastructure/docker-compose.macmini.yml). Read-heavy bei
|
||||
# CI-Builds, latency-unkritisch — perfekt für GPU-Box-Hosting. Config
|
||||
# lebt jetzt in mana-monorepo's infrastructure/verdaccio/config.yaml,
|
||||
# sparse-clone trägt das Verzeichnis auf der GPU-Box ein.
|
||||
# ============================================
|
||||
# ============================================
|
||||
# Phase 2f-2 — news-ingester (2026-05-07)
|
||||
# Background article-ingester — Bun-Service mit 15-min-Tick. Schreibt
|
||||
|
|
@ -613,30 +605,9 @@ services:
|
|||
retries: 3
|
||||
start_period: 30s
|
||||
|
||||
verdaccio:
|
||||
image: verdaccio/verdaccio:6
|
||||
container_name: mana-verdaccio
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- '4873:4873'
|
||||
environment:
|
||||
VERDACCIO_PORT: 4873
|
||||
volumes:
|
||||
- /srv/mana/source/infrastructure/verdaccio/config.yaml:/verdaccio/conf/config.yaml:ro
|
||||
- verdaccio-storage:/verdaccio/storage
|
||||
- verdaccio-plugins:/verdaccio/plugins
|
||||
healthcheck:
|
||||
test: ['CMD', 'wget', '--quiet', '--tries=1', '--spider', 'http://localhost:4873/-/ping']
|
||||
interval: 60s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
|
||||
volumes:
|
||||
glitchtip-pg-data:
|
||||
status-output:
|
||||
verdaccio-storage:
|
||||
verdaccio-plugins:
|
||||
mana-grafana-data:
|
||||
victoriametrics-data:
|
||||
loki-data:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue