mirror of
https://github.com/distribution/distribution.git
synced 2025-09-03 07:54:41 +00:00
Merge pull request #350 from RichardScothern/s3-rootpath
Update S3 configuration documentation
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user