services: registry: environment: REGISTRY_STORAGE_DELETE_ENABLED: 'true' REGISTRY_AUTH: htpasswd REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm REGISTRY_AUTH_HTPASSWD_PATH: /auth/htpasswd image: registry:2 logging: driver: loki options: loki-url: http://192.168.77.101:3100/loki/api/v1/push ports: - target: 5000 published: 5000 protocol: tcp mode: ingress volumes: - auth:/auth - data:/var/lib/registry deploy: labels: wud.watch: 'false' wud.watch.digest: 'false' replicas: 1 placement: constraints: - node.role == manager volumes: auth: data: