forked from lets-fiware/ngsi-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
203 lines (182 loc) · 5.42 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
# MIT License
#
# Copyright (c) 2020-2022 Kazuhito Suda
#
# This file is part of NGSI Go
#
# https://github.com/lets-fiware/ngsi-go
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
version: "3"
services:
orion:
image: telefonicaiot/fiware-orion:3.7.0
depends_on:
- mongo
command: -dbhost mongo
orion-ld:
image: fiware/orion-ld:1.0.1
restart: always
depends_on:
- mongo
command: -dbhost mongo -db orionld
mongo:
image: mongo:4.4
command: --nojournal
volumes:
- ./config/mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
comet:
image: fiware/sth-comet:2.8.0
restart: always
depends_on:
- mongo
environment:
- STH_HOST=0.0.0.0
- DB_URI=mongo:27017
quantumleap:
image: orchestracities/quantumleap:0.8.3
depends_on:
- crate
environment:
- CRATE_HOST=crate
crate:
image: crate:4.6.6
command: crate -Cauth.host_based.enabled=false -Ccluster.name=democluster -Chttp.cors.enabled=true -Chttp.cors.allow-origin="*"
environment:
- CRATE_HEAP_SIZE=2g
iot-agent:
image: fiware/iotagent-ul:1.15.0
depends_on:
- mongo
environment:
- IOTA_CB_HOST=orion
- IOTA_CB_PORT=1026
- IOTA_NORTH_PORT=4041
- IOTA_REGISTRY_TYPE=mongodb
- IOTA_LOG_LEVEL=DEBUG
- IOTA_TIMESTAMP=true
- IOTA_MONGO_HOST=mongo
- IOTA_MONGO_PORT=27017
- IOTA_MONGO_DB=iotagentul
- IOTA_HTTP_PORT=7896
- IOTA_PROVIDER_URL=http://iot-agent:4041
perseo:
image: telefonicaiot/perseo-fe:1.15.0
restart: always
depends_on:
- mongo
- perseo-core
environment:
- PERSEO_MONGO_ENDPOINT=mongo
- PERSEO_CORE_URL=http://perseo-core:8080
- PERSEO_ORION_URL=http://orion:1026/
perseo-core:
image: telefonicaiot/perseo-core:1.6.0
environment:
- PERSEO_FE_URL=http://perseo:9090
pep-proxy:
image: fiware/pep-proxy:8.1.0-distroless
depends_on:
- keyrock
environment:
- PEP_PROXY_DEBUG=true
- PEP_PROXY_APP_HOST=orion
- PEP_PROXY_APP_PORT=1026
- PEP_PROXY_PORT=1026
- PEP_PROXY_IDM_HOST=keyrock
- PEP_PROXY_IDM_PORT=3000
- PEP_PROXY_APP_ID=de95b7b2-2be4-46c8-89da-0aa633cd594c
- PEP_PROXY_USERNAME=pep_proxy_132b693f-decb-4eec-a23f-687b503abd4b
- PEP_PASSWORD=pep_proxy_955add39-c55b-46f3-bcb5-944cfcaba758
keyrock:
image: fiware/idm:8.1.0-distroless
depends_on:
- mysql
environment:
- IDM_DIALECT=mysql
- IDM_DB_HOST=mysql
- IDM_DB_NAME=idm
- IDM_DB_USER=idm
- IDM_DB_PASS=1234
- IDM_ADMIN_ID=admin
- IDM_ADMIN_USER=admin
- IDM_ADMIN_EMAIL=keyrock@letsfiware.jp
- IDM_ADMIN_PASS=1234
cygnus:
image: telefonicaiot/fiware-cygnus:2.16.0
depends_on:
- mongo
networks:
- default
environment:
- "CYGNUS_MONGO_HOSTS=mongo:27017"
- "CYGNUS_MONGO_SERVICE_PORT=5051"
- "CYGNUS_API_PORT=5080"
- "CYGNUS_SERVICE_PORT=5051"
volumes:
- ./config/cygnus-name_mappings.conf:/opt/apache-flume/conf/name_mappings.conf
wirecloud:
image: fiware/wirecloud:1.3.1
depends_on:
- keyrock
environment:
- DEBUG=True
- FIWARE_IDM_SERVER=http://keyrock:3000
- SOCIAL_AUTH_FIWARE_KEY=b5cd60de-2d85-4969-95c0-d0e1df392963
- SOCIAL_AUTH_FIWARE_SECRET=ec7392a4-5163-4d84-a64c-d9e0b7dfb309
mysql:
image: mysql:5.7.33
environment:
- MYSQL_ROOT_PASSWORD=secret
volumes:
- ./config/mysql-init.sql.gz:/docker-entrypoint-initdb.d/mysql-init.sql.gz:ro
accumulator:
build: ./server/accumulator
image: letsfiware/accumulator:latest
atcontext:
build: ./server/atcontext
image: letsfiware/atcontext:latest
csource:
build: ./server/csource
image: letsfiware/csource:latest
oauth:
build: ./server/oauth
image: letsfiware/oauth:latest
ngsi-test:
build: ./ngsi-test
image: letsfiware/ngsi-test:latest
depends_on:
- mongo
- orion
- orion-ld
- accumulator
- atcontext
- csource
- oauth
volumes:
- ../bin/ngsi:/usr/local/bin/ngsi:ro
- ../autocomplete/ngsi_bash_autocomplete:/usr/share/bash-compeletion/completions/ngsi_bash_autocomplete:ro
- .:/root/e2e
tokenproxy:
build: ./tokenproxy
image: letsfiware/tokenproxy:1.0
depends_on:
- keyrock
volumes:
- ../bin/ngsi:/usr/local/bin/ngsi:ro