Commit graph

12 commits

Author SHA1 Message Date
Konrad Kleine 224d5d82ee Fix reload issue with HTML5 mode URLs 2015-06-08 15:11:48 +02:00
Konrad Kleine 195c1dcceb Fix Bug #28
When the container is started for the first time we save a copy of the original `/etc/apache2/envvars` file to `/etc/apache2/envvars.orig`. On a container restart we copy the original file `/etc/apache2/envvars.orig` to `/etc/apache2/envvars` and modify it as usual without appending settings to `/etc/apache2/envvars` over and over.

Before starting Apache in the foreground  we ensure that it is not running by explicitly stopping the service.
2015-03-25 12:30:43 +01:00
Konrad Kleine 1b26f26e16 Limit allowed requests to GET method in browse only mode
With this change, no destructive requests (e.g. PUT, POST, DELETE) are allowed
on the frontend site which proxies through to the actual registry. This should
make the browse only mode more safe.

See PR #15
2015-02-13 11:34:33 +01:00
Konrad Kleine f630d41e7c Fix issue with browse mode variable
The value for browseOnly must not be a string; otherwise "false" will be
inteptreted as true which is clearly not intended.
2015-02-04 13:10:29 +01:00
rinrinne fc24df142a Fix attribute name in script 2015-02-03 12:58:54 +01:00
rinrinne 6b248e66fd Check boolean value for ENV_MODE_BROWSE_ONLY 2015-02-03 12:58:53 +01:00
rinrinne f4dc19b3a9 Rename "ENV_BROWSE_MODE" to "ENV_MODE_BROWSE_ONLY" 2015-02-03 12:58:53 +01:00
rinrinne fc45482c0f Add browse mode
This patch adds browse mode to hide any administration feature e.g.
delete repository/tag, create tag.
If you run container with "-e ENV_BROWSE_MODE=true", this feature will
be enabled.
2015-02-03 12:58:53 +01:00
Stuart Warren dca48a3977 override host/port for docker pull advice 2015-01-02 10:16:44 +00:00
Khoa Tran 9c14f96a24 Add SSLProxyEngine instruction to apache config file. 2014-11-14 17:04:56 -08:00
Khoa Tran b23b59e3d6 Support SSL-enabled docker registry. Users need to set ENV_DOCKER_REGISTRY_USE_SSL
enable secure connection to Docker registry.
2014-11-14 11:27:19 -08:00
Konrad Kleine ac23633e19 Replaced NGINX with Apache for Kerberos auth. SSL is working. 2014-09-29 14:05:02 +02:00