-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcompose.yaml
33 lines (33 loc) · 910 Bytes
/
compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
services:
idp:
image: kristophjunge/test-saml-idp
ports:
- "8080:8080"
- "8443:8443"
environment:
- SIMPLESAMLPHP_SP_ENTITY_ID=http://localhost:8000/hub/metadata/
- SIMPLESAMLPHP_SP_ASSERTION_CONSUMER_SERVICE=http://localhost:8000/hub/acs
- SIMPLESAMLPHP_SP_SINGLE_LOGOUT_SERVICE=http://localhost:8000/
jupyterhub:
build: .
ports:
- "8000:8000"
volumes:
- "./etc:/etc/saml"
- ".:/app"
- "./test/jupyterhub_config.py:/etc/jupyterhub-saml-auth/jupyterhub_config.py"
command:
- jupyterhub
- --config
- /etc/jupyterhub-saml-auth/jupyterhub_config.py
environment:
- REDIS_HOST=redis
- REDIS_PORT=${REDIS_PORT}
- REDIS_PASSWORD=${REDIS_PASSWORD}
- TEST_ENV=${TEST_ENV}
redis:
image: redis/redis-stack-server:latest
ports:
- "6379:6379"
environment:
- REDIS_ARGS=--requirepass ${REDIS_PASSWORD}