examples/generic_connector_configs/docker_registry_secretless.yml
version: 2
services:
docker-registry:
connector: generic_http
listenOn: tcp://0.0.0.0:8021
credentials:
token:
from: keychain
get: service#docker/registry-token
config:
headers:
Authorization: Bearer {{ .token }}
forceSSL: true
authenticateURLsMatching:
- ^http[s]*