Skip to content

Instantly share code, notes, and snippets.

@seventhskye
Created October 29, 2015 11:53
Show Gist options
  • Save seventhskye/e81207e1c5dbc10b624a to your computer and use it in GitHub Desktop.
Save seventhskye/e81207e1c5dbc10b624a to your computer and use it in GitHub Desktop.
Basic config.yml for an s3 backed v2 docker registry.
version: 0.1
log:
fields:
service: registry
http:
addr: :5000
headers:
X-Content-Type-Options: [nosniff]
storage:
cache:
blobdescriptor: inmemory
s3:
accesskey:
secretkey:
region: eu-west-1
bucket:
encrypt: true
secure: true
v4auth: true
chunksize: 5242880
auth:
htpasswd:
realm: basic-realm
path: /etc/docker/registry/htpasswd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment