This repository has been archived by the owner on Oct 27, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
88 lines (88 loc) · 1.65 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:
main_broker:
image: eclipse-mosquitto
networks:
- net0
weather:
image: eclipse-mosquitto
networks:
- net
waste:
image: eclipse-mosquitto
networks:
- net1
city:
image: eclipse-mosquitto
networks:
- net2
appbackend:
image: docker.linksmart.eu/mps:latest
hostname: appbackend
depends_on:
- weather
- main_broker
- sc
environment:
- connection_broker_mqtt_hostname=main_broker
- linksmart_service_catalog_endpoint=http://sc:8082
networks:
- net
- net0
links:
- weather
sc:
image: linksmart/sc:latest
depends_on:
- weather
- city
- waste
- main_broker
links:
- weather
- waste
- city
- main_broker
volumes:
- ./conf/:/conf/
command:
- -conf
- /conf/sc-conf.json
networks:
- net
- net0
- net1
- net2
agent:
image: linksmart/dpa:snapshot
hostname: agent
depends_on:
- weather
- waste
- city
- sc
- appbackend
- main_broker
links:
- weather
- waste
- city
- appbackend
- sc
environment:
- api_events_mqtt_broker_incoming=weather,waste
- messaging_client_mqtt_autoblacklisting=false
- linksmart_service_catalog_endpoint=http://sc:8082
- cep_init_bootstrapping_files=/data/bootstrapping/bootstrapping.json
volumes:
- ./conf/bootstrapping.json:/data/bootstrapping/bootstrapping.json
networks:
- net
- net0
- net1
- net2
networks:
net:
net0:
net1:
net2: