Skip to content

An authentication proxy for services running inside of Mesosphere DC/OS

License

Notifications You must be signed in to change notification settings

lloesche/auth-proxy-dcos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DC/OS Auth Proxy

An authentication proxy for services running on Mesosphere DC/OS

Intro

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.

Usage

Adjust the HAPROXY_0_VHOST and HAPROXY_GROUP labels in auth-proxy.json.

Install using

$ dcos marathon app add auth-proxy.json

Environment Variables

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.

About

An authentication proxy for services running inside of Mesosphere DC/OS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages