forked from lyft/confidant
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
48 lines (48 loc) · 1.34 KB
/
docker-compose.yml
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
42
43
44
45
46
47
48
version: "3.7"
networks:
confidant:
name: confidant
services:
saml-idp:
image: kristophjunge/test-saml-idp
env_file: ./config/development/saml-idp.env
networks:
- default
- confidant
ports:
- "8080:8080"
- "8443:8443"
volumes:
- ./config/development/saml-authsources.php:/var/www/simplesamlphp/config/authsources.php
dynamodb:
image: amazon/dynamodb-local
init: true
restart: on-failure
env_file: ./config/development/dynamodb.env
command: "-Xmx512m -jar DynamoDBLocal.jar -port 8080 -sharedDb"
kms:
image: nsmithuk/local-kms
init: true
restart: on-failure
env_file: ./config/development/kms.env
volumes:
- ./config/development/kms-seed.yaml:/init/seed.yaml
confidant:
image: lyft/confidant
init: true
restart: on-failure
networks:
- default
- confidant
ports:
- "80:80"
depends_on:
- dynamodb
- kms
- saml-idp
env_file: ./config/development/confidant.env
volumes:
- ./config/development/logging.conf:/etc/confidant/logging.conf
- ./config/development/idp.crt:/etc/confidant/idp.crt
- ./config/gunicorn.conf:/etc/confidant/gunicorn.conf
command: "gunicorn --config /etc/confidant/gunicorn.conf confidant.wsgi:app --workers=2 -k gevent --access-logfile=- --error-logfile=-"