Skip to content
Open
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
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
#
# VERSION 0.0.1

FROM ubuntu:13.04
FROM ubuntu:14.04

MAINTAINER Tim Schindler
MAINTAINER Andreas Dembach

RUN apt-get update
RUN apt-get -y install apache2
Expand Down
14 changes: 12 additions & 2 deletions registry-auth
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ServerName registry.dockzero.io
ProxyPass / http://${REGISTRY_PORT_5000_TCP_ADDR}:${REGISTRY_PORT_5000_TCP_PORT}/
ProxyPassReverse / http://${REGISTRY_PORT_5000_TCP_ADDR}:${REGISTRY_PORT_5000_TCP_PORT}/

<Proxy *>
<Location />
AuthType Basic
AuthName "Dockzero Registry"
AuthBasicProvider ldap
Expand All @@ -28,5 +28,15 @@ ServerName registry.dockzero.io
AuthLDAPBindDN cn=dk0reader,ou=Security,dc=accounts,dc=dg-i,dc=net
AuthLDAPBindPassword ${LDAP_READER_PWD}
require ldap-attribute isMemberOf=DK0-app-registry
</Proxy>
</Location>
<Location /_ping>
order deny,allow
allow from all
satisfy any
</Location>
<Location /v1/_ping>
order deny,allow
allow from all
satisfy any
</Location>
</VirtualHost>