-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathservices-docker-compose.yml
112 lines (103 loc) · 2.7 KB
/
services-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
version: '3'
# sphere-stack services
#
# This is all the microservices which combine to make the sphere cloud.
#
# NOTE: You will want to reconfigure all the passwords in here and the test_sql.sql file.
#
services:
douitsu: # identity provider
image: ninjasphere/douitsu:6b1d73e
env_file: config/douitsu
external_links:
- spherestack_sphereredis_1:redis
- spherestack_spheremysql_1:mysql
ports:
- "3333:3333"
expose:
- "3333"
activation: # sphere activation service
image: ninjasphere/sphere-activation-service:90c74a0
env_file: config/activation
external_links:
- spherestack_sphereredis_1:redis
- spherestack_spheremysql_1:mysql
- spherestack_sphererabbit_1:rabbit
ports:
- "5100:5100"
expose:
- "5100"
apiservice: # sphere rest api service
image: ninjasphere/sphere-api-service:a13fb9f
env_file: config/apiservice
links:
- activation:activation
- douitsu:douitsu
- modelservice:modelservice
external_links:
- spherestack_sphereredis_1:redis
- spherestack_spheremysql_1:mysql
- spherestack_sphererabbit_1:rabbit
ports:
- "5200:5200"
expose:
- "5200"
rpcservice: # sphere rpc service
image: ninjasphere/sphere-rpc-service:e4de51c
env_file: config/rpcservice
links:
- modelservice:modelservice
external_links:
- spherestack_sphereredis_1:redis
- spherestack_spheremysql_1:mysql
- spherestack_sphererabbit_1:rabbit
ports:
- "5900:5900"
expose:
- "5900"
modelservice: # sphere model store service
image: ninjasphere/sphere-modelstore-service:2463a5e
env_file: config/modelservice
external_links:
- spherestack_spherecouch_1:couchdb
ports:
- "5600:5600"
expose:
- "5600"
stateservice: # sphere state service
image: ninjasphere/sphere-state-service:2a2b68c
env_file: config/stateservice
external_links:
- spherestack_sphereredis_1:redis
- spherestack_sphererabbit_1:rabbit
ports:
- "6100:6100"
expose:
- "6100"
mqttproxy: # sphere mqtt proxy
image: ninjablocks/mqtt-proxy:e272ac0
env_file: config/mqttproxy
external_links:
- spherestack_spheremysql_1:mysql
- spherestack_sphererabbit_1:rabbit
ports:
- "6300:6300"
expose:
- "6300"
spherehaproxy: # cache
image: ninjablocks/haproxy:95d19f6
env_file: config/spherehaproxy
links:
- apiservice:apiservice
- douitsu:douitsu
- mqttproxy:mqttproxy
volumes:
- ./haproxy:/haproxy-override
ports:
- "80:80"
- "443:443"
- "8883:8883"
expose:
- "80"
- "443"
- "8883"