forked from Netflix/consoleme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-saml.yaml
41 lines (40 loc) · 1.37 KB
/
docker-compose-saml.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
34
35
36
37
38
39
40
41
version: "3"
# Never use this in a production environment.
# Run with docker-compose -f docker-compose-saml.yaml up
services:
consoleme:
build: .
ports:
- "8081:8081"
tty: true
stdin_open: true
volumes:
- .:/apps/consoleme:delegated
- ~/.aws:/root/.aws:cached
- ~/.ssh:/root/.ssh:cached
environment:
- CONFIG_LOCATION=/apps/consoleme/example_config/example_config_saml.yaml
- SETUPTOOLS_USE_DISTUTILS=stdlib
# Run commands to install Consoleme, run the service, and never exit in the event of failure (For dev debugging)
command: >
bash -c 'pip install argh watchdog; pip install -e /apps/consoleme/default_plugins;
watchmedo auto-restart --recursive --pattern="*.py;*.yaml" --directory="." python consoleme/__main__.py'
depends_on:
- consoleme-redis
- consoleme-dynamodb
- consoleme-saml
links:
- consoleme-redis
- consoleme-dynamodb
- consoleme-saml
consoleme_saml:
image: "kristophjunge/test-saml-idp"
volumes:
- ./example_config/simplesamlphp/authsources.php:/var/www/simplesamlphp/config/authsources.php:delegated
container_name: consoleme-saml
ports:
- "8080:8080"
- "8443:8443"
environment:
- SIMPLESAMLPHP_SP_ENTITY_ID=http://localhost:8081
- SIMPLESAMLPHP_SP_ASSERTION_CONSUMER_SERVICE=http://localhost:8081/saml/acs