-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
57 lines (50 loc) · 1.11 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
version: '3'
services:
gateway:
image: gateway
ports:
- "8080:8080"
links:
- zombie-driver:zombie-driver
- nsqd:nsqd
container_name: gateway
driver-location:
image: driver-location
links:
- redis:redis
- nsqlookupd:nsqlookupd
container_name: driver-location
zombie-driver:
image: zombie-driver
links:
- driver-location:driver-location
container_name: zombie-driver
redis:
image: redis:4.0.9-alpine
ports:
- "6379:6379"
container_name: driver_redis
nsqlookupd:
image: nsqio/nsq:v0.3.8
command: /nsqlookupd
ports:
- "4160:4160"
- "4161:4161"
container_name: driver_nsqlookupd
nsqd:
image: nsqio/nsq:v0.3.8
command: /nsqd --lookupd-tcp-address=nsqlookupd:4160
links:
- nsqlookupd:nsqlookupd
ports:
- "4150:4150"
- "4151:4151"
container_name: driver_nsqd
nsqadmin:
image: nsqio/nsq:v0.3.8
ports:
- "4171:4171"
links:
- nsqlookupd:nsqlookupd
command: /nsqadmin --lookupd-http-address=nsqlookupd:4161
container_name: driver_nsqadmin