forked from TrueCloudLab/distribution
Merge pull request #350 from RichardScothern/s3-rootpath
Update S3 configuration documentation
This commit is contained in:
commit
7cfc6fd062
2 changed files with 11 additions and 11 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue