-
Notifications
You must be signed in to change notification settings - Fork 558
/
docker-compose.yml
98 lines (91 loc) · 1.48 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
version: '3'
services:
comet:
build:
context: ./comet
dockerfile: Dockerfile
image: comet
container_name: comet
restart: always
links:
- redis
- zookeeper
expose:
- "6968"
- "7068"
- "6969"
- "7069"
- "6970"
- "7070"
- "6071"
- "6072"
ports:
- "6968:6968"
- "7068:7068"
- "6969:6969"
- "7069:7069"
- "6970:6970"
- "7070:7070"
- "6071:6971"
- "6072:6972"
depends_on:
- redis
- zookeeper
web:
build: ./web
image: web
container_name: web
restart: always
links:
- redis
- zookeeper
ports:
- "8090:8090"
- "8091:8091"
depends_on:
- redis
- zookeeper
message:
build:
context: ./message
dockerfile: Dockerfile
image: message
container_name: message
restart: always
links:
- redis
- zookeeper
expose:
- "8070"
- "8270"
- "8170"
ports:
- "8070:8070"
- "8270:8270"
- "8170:8170"
depends_on:
- redis
- zookeeper
zookeeper:
image: wurstmeister/zookeeper
expose:
- "2181"
ports:
- "2181:2181"
redis:
image: robertzhouxh/redis3.2-alpine
restart: always
expose:
- "6379"
ports:
- "6379:6379"
volumes:
data-volume:
networks:
default:
driver: bridge
#networks:
# front:
# driver: overlay
# back:
# driver: overlay