Last active
September 8, 2016 02:20
-
-
Save kwokhou/f20defbfc34b1bf86c6e6e9e6aa7fda4 to your computer and use it in GitHub Desktop.
Docker Registry using Azure Blob Storage or AWS S3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 0.1 | |
log: | |
fields: | |
service: registry | |
storage: | |
delete: | |
enabled: true | |
cache: | |
blobdescriptor: inmemory | |
azure: | |
accountname: account-name-for-azure-storage | |
accountkey: account-key-for-azure-storage | |
container: docker-registry | |
http: | |
addr: :5000 | |
headers: | |
X-Content-Type-Options: [nosniff] | |
health: | |
storagedriver: | |
enabled: true | |
interval: 30s | |
threshold: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 0.1 | |
log: | |
fields: | |
service: registry | |
storage: | |
delete: | |
enabled: true | |
cache: | |
blobdescriptor: inmemory | |
s3: | |
accesskey: awsaccesskey | |
secretkey: awssecretkey | |
region: us-west-1 | |
regionendpoint: http://myobjects.local | |
bucket: bucketname | |
encrypt: true | |
keyid: mykeyid | |
secure: true | |
v4auth: true | |
chunksize: 5242880 | |
rootdirectory: /s3/object/name/prefix | |
http: | |
addr: :5000 | |
headers: | |
X-Content-Type-Options: [nosniff] | |
health: | |
storagedriver: | |
enabled: true | |
interval: 30s | |
threshold: 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment