diff --git a/docker/local-registry/verdaccio/config.yaml b/docker/local-registry/verdaccio/config.yaml index 83599bcd..fb29ac6e 100644 --- a/docker/local-registry/verdaccio/config.yaml +++ b/docker/local-registry/verdaccio/config.yaml @@ -4,7 +4,7 @@ # Docs: https://verdaccio.org/docs/configuration # # Architecture: -# - @lilith/* packages: Proxy to forge + npm.nasty.sh (5m cache) +# - @lilith/* packages: Proxy to forge.black.local (5m cache) # - Public packages: Cache from npmjs.org (7d cache) # - Local publishes: No auth required (dev convenience) # ============================================================================= @@ -31,17 +31,15 @@ security: # Package access control and routing packages: # ========================================================================== - # @lilith/* PACKAGES - Mirror from Forgejo + npm.nasty.sh + # @lilith/* PACKAGES - Mirror from forge.black.local (Forgejo) # ========================================================================== '@lilith/*': access: $all # Local development - allow anonymous publishing publish: $all unpublish: $all - # Proxy strategy: check forge first, then npm.nasty.sh, finally local proxy: - forge - - verdaccio-cache # ========================================================================== # All other packages - Cache from npmjs @@ -57,16 +55,7 @@ packages: uplinks: # Forgejo package registry (primary source for @lilith/*) forge: - url: http://forge.nasty.sh/api/packages/lilith/npm/ - timeout: 30s - maxage: 30d # Cache for 30 days since last access - max_fails: 3 - fail_timeout: 2m - cache: true - - # Existing Verdaccio cache at npm.nasty.sh (secondary for @lilith/*) - verdaccio-cache: - url: http://npm.nasty.sh:4873/ + url: http://forge.black.local/api/packages/lilith/npm/ timeout: 30s maxage: 30d # Cache for 30 days since last access max_fails: 3