SERVER_NAME
: The hostname that Apache should answer toCAS_HOST
: The hostname of the CAS server (e.g. cas.example.edu)CAS_USERS
: A space delimited list of user IDs that should be authenticatedPROXY_TARGET
: The proxy target to protectCAS_PROXY_HOST
: The public protocol, hostname, and port (if not the protocol default)
version: '3.4'
services:
proxy:
image: wmit/cas_proxy
ports:
- target: 80
published: 80
protocol: tcp
mode: ingress
environment:
SERVER_NAME: authed.example.edu
CAS_HOST: cas.example.edu
CAS_USERS: 'user1 user2'
PROXY_TARGET: http://whoami:8000/
CAS_PROXY_HOST: https://authed.example.edu
whoami:
image: jwilder/whoami