Skip to content

Commit a1ce3cd

Browse files
committed
Merge pull request #764 from johanneswuerbach/registry-s3-redirect
feat(registry): add s3 redirect support
2 parents 3d1c474 + 2b23db5 commit a1ce3cd

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

registry/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN useradd -s /bin/bash registry
1616
RUN git clone https://github.com/dotcloud/docker-registry /docker-registry
1717

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

2121
# install boto configuration
2222
RUN cp /docker-registry/config/boto.cfg /etc/boto.cfg

registry/templates/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ prod:
3131
# Amazon S3 Storage Configuration
3232
s3_access_key: {{ .deis_registry_s3accessKey }}
3333
s3_secret_key: {{ .deis_registry_s3secretKey }}
34+
s3_region: {{ .deis_registry_s3region }}
3435
s3_bucket: {{ .deis_registry_s3bucket }}
3536
s3_encrypt: {{ .deis_registry_s3encrypt }}
3637
s3_secure: {{ .deis_registry_s3secure }}
38+
storage_redirect: True
3739
# Enabling query cache on Redis
3840
cache:
3941
host: {{ .deis_cache_host }}

0 commit comments

Comments
 (0)