-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (46 loc) · 1.12 KB
/
docker-compose.yml
File metadata and controls
49 lines (46 loc) · 1.12 KB
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
services:
node1:
build: .
ports:
- "6380:6380"
environment:
CACHEGRID_NODE_NAME: node-1
CACHEGRID_HTTP_PORT: "6380"
CACHEGRID_LISTEN_ADDR: "0.0.0.0:7946"
CACHEGRID_RPC_PORT: "7947"
CACHEGRID_SEEDS: "node2:7946,node3:7946"
CACHEGRID_MODE: partitioned
CACHEGRID_MAX_MEMORY_MB: "256"
networks:
- cachegrid
node2:
build: .
ports:
- "6381:6380"
environment:
CACHEGRID_NODE_NAME: node-2
CACHEGRID_HTTP_PORT: "6380"
CACHEGRID_LISTEN_ADDR: "0.0.0.0:7946"
CACHEGRID_RPC_PORT: "7947"
CACHEGRID_SEEDS: "node1:7946,node3:7946"
CACHEGRID_MODE: partitioned
CACHEGRID_MAX_MEMORY_MB: "256"
networks:
- cachegrid
node3:
build: .
ports:
- "6382:6380"
environment:
CACHEGRID_NODE_NAME: node-3
CACHEGRID_HTTP_PORT: "6380"
CACHEGRID_LISTEN_ADDR: "0.0.0.0:7946"
CACHEGRID_RPC_PORT: "7947"
CACHEGRID_SEEDS: "node1:7946,node2:7946"
CACHEGRID_MODE: partitioned
CACHEGRID_MAX_MEMORY_MB: "256"
networks:
- cachegrid
networks:
cachegrid:
driver: bridge