Merge pull request #350 from RichardScothern/s3-rootpath

Update S3 configuration documentation
pull/351/merge
Stephen Day 2015-04-10 16:22:38 -07:00
commit 7cfc6fd062
2 changed files with 11 additions and 11 deletions

View File

@ -22,7 +22,7 @@ storage:
s3: s3:
region: us-east-1 region: us-east-1
bucket: my-bucket bucket: my-bucket
rootpath: /registry rootdirectory: /registry
encrypt: true encrypt: true
secure: false secure: false
accesskey: SAMPLEACCESSKEY accesskey: SAMPLEACCESSKEY

View File

@ -26,15 +26,15 @@ var configStruct = Configuration{
Loglevel: "info", Loglevel: "info",
Storage: Storage{ Storage: Storage{
"s3": Parameters{ "s3": Parameters{
"region": "us-east-1", "region": "us-east-1",
"bucket": "my-bucket", "bucket": "my-bucket",
"rootpath": "/registry", "rootdirectory": "/registry",
"encrypt": true, "encrypt": true,
"secure": false, "secure": false,
"accesskey": "SAMPLEACCESSKEY", "accesskey": "SAMPLEACCESSKEY",
"secretkey": "SUPERSECRET", "secretkey": "SUPERSECRET",
"host": nil, "host": nil,
"port": 42, "port": 42,
}, },
}, },
Auth: Auth{ Auth: Auth{
@ -93,7 +93,7 @@ storage:
s3: s3:
region: us-east-1 region: us-east-1
bucket: my-bucket bucket: my-bucket
rootpath: /registry rootdirectory: /registry
encrypt: true encrypt: true
secure: false secure: false
accesskey: SAMPLEACCESSKEY accesskey: SAMPLEACCESSKEY