forked from Netflix/consoleme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-oidc.yaml
41 lines (40 loc) · 1.35 KB
/
docker-compose-oidc.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_oidc.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_oidc
links:
- consoleme-redis
- consoleme-dynamodb
- consoleme_oidc
consoleme_oidc:
image: "qlik/simple-oidc-provider"
volumes:
- ./example_config/simple-oidc-provider:/simple-oidc-provider-settings:delegated
container_name: consoleme_oidc
ports:
- "9000:9000"
environment:
- CONFIG_FILE=/simple-oidc-provider-settings/idp_config.json
- USERS_FILE=/simple-oidc-provider-settings/idp_users.json
- DEBUG=oidc-provider:*