-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
75 lines (65 loc) · 1.93 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
version: '2'
services:
zookeeper:
image: wurstmeister/zookeeper
ports:
- "2181:2181"
codis-dashboard:
image: qyvlik/codis
volumes:
- ./config/dashboard.toml:/codis/dashboard.toml:ro
- ${CODIS_LOG_PATH}:/codis/log
command: codis-dashboard -l log/dashboard.log -c dashboard.toml --host-admin ${MACHINE_HOST_IP}:28080
ports:
- "28080:18080"
codis-proxy:
image: qyvlik/codis
volumes:
- ./config/proxy.toml:/codis/proxy.toml:ro
- ${CODIS_LOG_PATH}:/codis/log
command: codis-proxy -l log/proxy.log -c proxy.toml --host-admin ${MACHINE_HOST_IP}:21080 --host-proxy ${MACHINE_HOST_IP}:29000
ports:
- "29000:19000"
- "21080:11080"
codis-server-26379:
image: qyvlik/codis
volumes:
- ${CODIS_LOG_PATH}:/codis/log
command: codis-server --protected-mode no --logfile log/26379.log
ports:
- "26379:6379"
codis-server-26380:
image: qyvlik/codis
volumes:
- ${CODIS_LOG_PATH}:/codis/log
command: codis-server --protected-mode no --logfile log/26380.log
ports:
- "26380:6379"
codis-server-26381:
image: qyvlik/codis
volumes:
- ${CODIS_LOG_PATH}:/codis/log
command: codis-server --protected-mode no --logfile log/26381.log
ports:
- "26381:6379"
codis-server-26382:
image: qyvlik/codis
volumes:
- ${CODIS_LOG_PATH}:/codis/log
command: codis-server --protected-mode no --logfile log/26382.log
ports:
- "26382:6379"
codis-server-26383:
image: qyvlik/codis
volumes:
- ${CODIS_LOG_PATH}:/codis/log
command: codis-server --protected-mode no --logfile log/26383.log
ports:
- "26383:6379"
codis-fe:
image: qyvlik/codis
volumes:
- ${CODIS_LOG_PATH}:/codis/log
command: codis-fe -l log/fe.log --zookeeper zookeeper:2181 --listen=0.0.0.0:8080 --assets=/gopath/src/github.com/CodisLabs/codis/bin/assets
ports:
- "8080:8080"