Skip to content

Commit 87b6a7a

Browse files
author
Daniel Schmidt
committed
Initial commit
0 parents  commit 87b6a7a

File tree

9 files changed

+624
-0
lines changed

9 files changed

+624
-0
lines changed

Dockerfile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
FROM httpd:2.4
2+
3+
RUN apt -y update && \
4+
apt -y upgrade && \
5+
apt -y install libapache2-mod-auth-cas && \
6+
install -d /var/cache/apache2/mod_auth_cas -o www-data -g www-data
7+
8+
COPY httpd.conf /usr/local/apache2/conf/httpd.conf
9+
10+
VOLUME [ "/var/cache/apache2/mod_auth_cas" ]

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Apache w/mod-auth-cas docker image
2+
3+
A simple Debian-based Apache 2.4 image with mod-auth-cas installed. Customize the CAS configuration by setting environment variables:
4+
5+
- `CAS_LOGIN_URL`
6+
- `CAS_VALIDATE_URL`
7+
- `CAS_PROXY_VALIDATE_URL`
8+
- `CAS_ROOT_PROXIED_AS`
9+
10+
The environment variables are named after the corresponding CAS configuration directives. See the [mod-auth-cas documentation](https://github.com/apereo/mod_auth_cas).

data/UCB/sample3.txt

Whitespace-only changes.

data/UCB/sample4.txt

Whitespace-only changes.

data/public/sample1.txt

Whitespace-only changes.

data/public/sample2.txt

Whitespace-only changes.

docker-compose.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
3+
services:
4+
app:
5+
build: .
6+
environment:
7+
- CAS_LOGIN_URL=https://auth.berkeley.edu/cas/
8+
- CAS_VALIDATE_URL=https://auth.berkeley.edu/cas/serviceValidate
9+
- CAS_PROXY_VALIDATE_URL=https://auth.berkeley.edu/cas/proxyValidate
10+
- CAS_ROOT_PROXIED_AS=http://localhost
11+
ports:
12+
- 80:80
13+
volumes:
14+
- ./data:/usr/local/apache2/htdocs:ro

0 commit comments

Comments
 (0)