forked from eclipse-iofog/demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-iofog.yml
60 lines (57 loc) · 1.61 KB
/
docker-compose-iofog.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
version: "3"
services:
iofog-connector:
image: iofog-connector:local
build:
context: ./services/iofog/iofog-connector
args:
- LOCAL_CONNECTOR_PACKAGE
container_name: iofog-connector
ports:
- "53321:8080"
network_mode: bridge
iofog-controller:
image: iofog-controller:local
build:
context: ./services/iofog/iofog-controller
args:
- LOCAL_CONTROLLER_PACKAGE
container_name: iofog-controller
depends_on:
- iofog-connector
ports:
- "51121:51121"
environment:
- NODE_ENV=development
links:
- iofog-connector:iofog-connector
network_mode: bridge
iofog-agent:
image: iofog-agent:local
build:
context: ./services/iofog/iofog-agent
args:
- LOCAL_AGENT_PACKAGE
depends_on:
- iofog-controller
privileged: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
container_name: iofog-agent
ports:
- "8081:22"
- "54321:54321"
links:
- iofog-controller:iofog-controller
network_mode: bridge
iofog-init:
build: ./init/iofog
container_name: iofog-init
depends_on:
- iofog-controller
volumes:
- /var/run/docker.sock:/var/run/docker.sock
links:
- iofog-controller:iofog-controller
- iofog-connector:iofog-connector
network_mode: bridge