This repository was archived by the owner on Sep 12, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -184,6 +184,32 @@ docker run \
184184 -p 5000:5000 \
185185 registry
186186```
187+ ## S3 Storage with Cloudfront
188+ It is possible Cloudfront in tandem with S3 storage, you need to configure Cloudfront to point it to your S3 bucket.
189+
190+ This flavor can be started as:
191+ ```
192+ docker run \
193+ -e SETTINGS_FLAVOR=cloudfronts3 \
194+ -e AWS_BUCKET=mybucket \
195+ -e STORAGE_PATH=/registry \
196+ -e AWS_KEY=myawskey \
197+ -e AWS_SECRET=myawssecret \
198+ -e SEARCH_BACKEND=sqlalchemy \
199+ -e AWS_SECURE=false \
200+ -e AWS_ENCRYPT=false \
201+ -e AWS_PORT=80 \
202+ -e AWS_DEBUG=true \
203+ -e CF_BASE_URL=cloudfront_url
204+ -e CF_KEYID=cloudfront_key_id
205+ -e CF_KEYSECRET=cloudfront_private_key
206+ -p 5000:5000 \
207+ registry
208+ ```
209+ ` CF_BASE_URL ` is the Cloudfront base URL example: https://abcd.cloudfront.net
210+ ` CF_KEYID ` is the ID of the Cloudfront keypair you are going to use to sign the URLs so the the registry can 302 to Cloudfront.
211+ ` CF_KEYSECRET ` is either the private key as string or file location of the private key used to sign the URLS.
212+
187213
188214## Microsoft Azure Blob Storage
189215
You can’t perform that action at this time.
0 commit comments