lloesche/auth-proxy-dcos
An authentication proxy for services running on Mesosphere DC/OS
50K+
An authentication proxy for services running on Mesosphere DC/OS
This adds basic auth in front of any http(s) service running inside DC/OS. Requires DC/OS 1.7+ Works best in combination with marathon-lb. The example auth-proxy.json app definition contains marathon-lb labels.
Adjust the HAPROXY_0_VHOST and HAPROXY_GROUP labels in auth-proxy.json.
Install using
$ dcos marathon app add auth-proxy.json
Variable | Function | Example |
---|---|---|
LOGIN | Login username | LOGIN=lukas |
PASSWORD | Login password (following this scheme) | PASSWORD={PLAIN}letmein |
SERVER_NAME | Vhost to react on | SERVER_NAME=_ |
LOCATION | Path to react on | LOCATION=/ |
PROXY_PASS | URI to proxy to | PROXY_PASS=http://10.177.90:9090 |
Additional users can be defined via LOGIN0..100
and PASSWORD0..100
, additional locations via LOCATION0..100 and PROXY_PASS0..100.
docker pull lloesche/auth-proxy-dcos