-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
64 lines (61 loc) · 1.23 KB
/
docker-compose.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
services:
orion:
image: quay.io/fiware/orion-ld
depends_on:
- mongo-db
networks:
- fiware
ports:
- "2026:1026"
command: -dbhost mongo-db -logLevel WARN
healthcheck:
test: curl --fail -s http://orion:1026/version || exit 1
orionproxy:
build: ./corsproxy
environment:
- NGINX_PROXY_PASS=http://orion:1026/
ports:
- "1026:80"
depends_on:
- orion
networks:
- fiware
mongo-db:
image: mongo:4.2
ports:
- "27017:27017"
networks:
- fiware
command: --nojournal
volumes:
- mongo-db-data:/data
ngsiproxy:
image: fiware/ngsiproxy
environment:
- TRUST_PROXY_HEADERS=TRUE
depends_on:
- orion
ports:
- "3000:3000"
networks:
- fiware
setup:
build: ./setup
environment:
- NGSI_PROXY_BASEURL=http://ngsiproxy:3000
- NGSI_PROXY_PUBLICBASEURL=http://localhost:3000
- NGSI_PROXY_CALLBACK_BASEURL=http://ngsiproxy:3000
- CONTEXT_BROKER_BASEURL=http://orion:1026
depends_on:
- orion
- ngsiproxy
deploy:
restart_policy:
condition: none
max_attempts: 0
networks:
- fiware
networks:
fiware:
volumes:
mongo-db-data: