Merge pull request #350 from RichardScothern/s3-rootpath

Update S3 configuration documentation
This commit is contained in:
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