forked from CatalystCode/project-fortis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
88 lines (81 loc) · 2.3 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
version: '3'
services:
project_fortis_interfaces:
image: cwolff/project_fortis_interfaces:${BUILD_TAG}
build:
context: project-fortis-interfaces
dockerfile: docker/Dockerfile
ports:
- ${PROJECT_FORTIS_INTERFACES_PORT}:3000
- 35729:35729
environment:
- REACT_APP_SERVICE_HOST=http://localhost:${PROJECT_FORTIS_SERVICES_PORT}
- REACT_APP_AD_CLIENT_ID=${AD_CLIENT_ID}
- NODE_ENV=development
- CHOKIDAR_USEPOLLING=true
env_file:
- .env-secrets
volumes:
- ./project-fortis-interfaces/src:/app/src
project_fortis_services:
image: cwolff/project_fortis_services:${BUILD_TAG}
build:
context: project-fortis-services
dockerfile: docker/Dockerfile
ports:
- ${PROJECT_FORTIS_SERVICES_PORT}:80
links:
- cassandra:cassandra
- featureservice:featureservice
environment:
- FORTIS_CASSANDRA_SEED_DATA_URL=${CASSANDRA_SEED_DATA_URL}
- FORTIS_CASSANDRA_SITE_NAME=Fortis Dev
- FORTIS_CASSANDRA_SITE_TYPE=none
- FORTIS_CASSANDRA_USERS=${USERS}
- FORTIS_CASSANDRA_ADMINS=${ADMINS}
- FORTIS_CASSANDRA_REPLICATION_FACTOR=1
- AD_CLIENT_ID=${AD_CLIENT_ID}
env_file:
- .env-secrets
project_fortis_spark:
image: cwolff/project_fortis_spark:${BUILD_TAG}
build:
context: project-fortis-spark
dockerfile: docker/Dockerfile
ports:
- ${PROJECT_FORTIS_SPARK_CONTEXT_UI_PORT}:4040
- ${PROJECT_FORTIS_SPARK_MASTER_UI_PORT}:8080
- ${PROJECT_FORTIS_SPARK_WORKER_UI_PORT}:8081
links:
- cassandra:cassandra
- featureservice:featureservice
depends_on:
- project_fortis_services
env_file:
- .env-secrets
project_fortis_backup:
image: cwolff/project_fortis_backup:${BUILD_TAG}
build:
context: project-fortis-backup
dockerfile: docker/Dockerfile
links:
- cassandra:cassandra
environment:
- BACKUP_INTERVAL=10m
- BACKUP_DELETE_LOOKBACK=30 minutes ago
env_file:
- .env-secrets
featureservice:
image: cwolff/featureservice:1.0.1
ports:
- ${FEATURE_SERVICE_PORT}:80
env_file:
- .env-secrets
cassandra:
image: erikschlegel/cassandra:v12
ports:
- 7000:7000
- 7001:7001
- 7199:7199
- 9042:9042
- 9160:9160