-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
130 lines (118 loc) · 2.67 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
version: '3'
services:
# QL Environment services
orion:
image: fiware/orion:${ORION_VERSION:-1.15.1}
ports:
- "1026:1026"
command: -logLevel DEBUG -noCache -dbhost mongo
depends_on:
- mongo
healthcheck:
test: ["CMD", "curl", "-f", "http://0.0.0.0:1026/version"]
interval: 1m
timeout: 10s
retries: 3
mongo:
image: mongo:3.2
ports:
- "27017:27017"
volumes:
- mongodata:/data/db
quantumleap:
image: ${QL_IMAGE:-smartsdk/quantumleap}
ports:
- "8668:8668"
depends_on:
- mongo
- orion
- crate
environment:
- CRATE_HOST=${CRATE_HOST:-crate}
- USE_GEOCODING=True
- REDIS_HOST=redis
- REDIS_PORT=6379
crate:
image: crate:${CRATE_VERSION:-3.0.5}
command: crate -Clicense.enterprise=false -Cauth.host_based.enabled=false
-Ccluster.name=democluster -Chttp.cors.enabled=true -Chttp.cors.allow-origin="*"
ports:
# Admin UI
- "4200:4200"
# Transport protocol
- "4300:4300"
volumes:
- cratedata:/data
grafana:
image: grafana/grafana
ports:
- "3000:3000"
environment:
- GF_INSTALL_PLUGINS=crate-datasource,grafana-clock-panel,grafana-worldmap-panel
- GF_AUTH_ANONYMOUS_ENABLED=true
depends_on:
- crate
redis:
image: redis
deploy:
# Scaling Redis requires some extra work.
# See https://get-reddie.com/blog/redis4-cluster-docker-compose/
replicas: 1
ports:
- "6379:6379"
volumes:
- redisdata:/data
# DrivingApp Environment Services
mariadb :
image : mariadb
ports :
- "3306:3306"
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=smartsdksecurity
volumes:
- mariadb:/data
drivingservice :
image : cenidetiot/drivingapp-service
ports :
- "4005:4005"
links :
- mariadb
- crate
- orion
- idm
environment:
- MYSQL_HOST=mariadb
- MYSQL_DB=smartsdksecurity
- MYSQL_USER=root
- MYSQL_PASSWORD=root
- CRATEDB=crate
- ORION=orion
- KEYROCK=idm
- KEYSTONE_PORT=5000
notifications :
image: cenidetiot/notifications-service
ports :
- "3001:3001"
links :
- drivingservice
environment:
- CONTEXT=orion
- SMART_SERVICE=smartservice
- FCM_SERVER_TOKEN=FCMTOKEN
- PASSWORD=SM2
- USER_NAME=daniel
idm:
image: ging/fiware-idm
ports:
- "5000:5000"
- "8000:8000"
volumes:
mariadb:
mongodata:
cratedata:
redisdata:
networks:
default:
driver_opts:
com.docker.network.driver.mtu: ${DOCKER_MTU:-1400}