Add docker compose configuration for v1 and v2

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
This commit is contained in:
Derek McGowan 2015-04-09 13:23:21 -07:00
parent 0a2affa79f
commit ce0b370dd0
7 changed files with 116 additions and 0 deletions

View file

@ -0,0 +1,5 @@
proxy_pass http://docker-registry;
proxy_set_header Host $http_host; # required for docker client's sake
proxy_set_header X-Real-IP $remote_addr; # pass on real client's IP
proxy_set_header Authorization ""; # see https://github.com/docker/docker-registry/issues/170
proxy_read_timeout 900;