version: 0.1 log: level: info formatter: text fields: service: registry storage: filesystem: rootdirectory: /var/lib/registry maxthreads: 100 cache: blobdescriptor: redis maintenance: uploadpurging: enabled: true age: 168h interval: 24h dryrun: false delete: enabled: true redis: addr: registry-redis:6379 pool: maxidle: 16 maxactive: 64 idletimeout: 300s http: addr: :5000 headers: X-Content-Type-Options: [nosniff] http2: disabled: false # Proxy configuration for Docker Hub caching proxy: remoteurl: https://registry-1.docker.io ttl: 168h # Cache for 7 days # Health check health: storagedriver: enabled: true interval: 10s threshold: 3 # Middleware for rate limiting and caching middleware: storage: - name: cloudfront options: baseurl: https://registry-1.docker.io/ privatekey: /etc/docker/registry/pk.pem keypairid: KEYPAIRID duration: 3000s ipfilteredby: aws # Notifications (optional - for monitoring) notifications: endpoints: - name: local-endpoint url: http://pipeline-monitor:8100/webhook/registry headers: Authorization: [Bearer] timeout: 1s threshold: 10 backoff: 1s disabled: false # Garbage collection gc: enabled: true interval: 12h readonly: enabled: false # Validation validation: manifests: urls: allow: - ^https?:// deny: - ^http://localhost/