Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

feat(registry): add s3 redirect support #764

Merged
merged 1 commit into from
Apr 17, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion registry/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN useradd -s /bin/bash registry
RUN git clone https://github.com/dotcloud/docker-registry /docker-registry

# lock the registry version to a tag
RUN cd /docker-registry && git checkout 0.6.6
RUN cd /docker-registry && git checkout 0.6.8

# install boto configuration
RUN cp /docker-registry/config/boto.cfg /etc/boto.cfg
Expand Down
2 changes: 2 additions & 0 deletions registry/templates/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ prod:
# Amazon S3 Storage Configuration
s3_access_key: {{ .deis_registry_s3accessKey }}
s3_secret_key: {{ .deis_registry_s3secretKey }}
s3_region: {{ .deis_registry_s3region }}
s3_bucket: {{ .deis_registry_s3bucket }}
s3_encrypt: {{ .deis_registry_s3encrypt }}
s3_secure: {{ .deis_registry_s3secure }}
storage_redirect: True
# Enabling query cache on Redis
cache:
host: {{ .deis_cache_host }}
Expand Down