-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (43 loc) · 1.05 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
version : '3.3'
services:
inmemory_server1:
build:
context: .
dockerfile: Dockerfile-server
command: /inmemory/server/server -addr=0.0.0.0:3000
ports:
- "3000:3000"
volumes:
- inmemory_server1:/inmemory/server/.backups
inmemory_server2:
build:
context: .
dockerfile: Dockerfile-server
command: /inmemory/server/server -addr=0.0.0.0:3001
ports:
- "3001:3001"
volumes:
- inmemory_server2:/inmemory/server/.backups
inmemory_server3:
build:
context: .
dockerfile: Dockerfile-server
command: /inmemory/server/server -addr=0.0.0.0:3002
ports:
- "3002:3002"
volumes:
- inmemory_server3:/inmemory/server/.backups
inmemory_cluster_proxy:
build:
context: .
dockerfile: Dockerfile-proxy
command: /inmemory/cluster/proxy -addr=0.0.0.0:3050
ports:
- "3050:3050"
volumes:
- inmemory_cluster_proxy:/inmemory/cluster/.backups
volumes:
inmemory_server1:
inmemory_server2:
inmemory_server3:
inmemory_cluster_proxy: