-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
32 lines (28 loc) · 1007 Bytes
/
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
version: '2.1'
services:
tarantool-router1:
build:
context: .
dockerfile: Dockerfile
ports:
- "8081:8081"
command: ["cartridge", "start", "app.router1", "--script", "/opt/cartridge-app/init.lua", "--cfg", "/opt/cartridge-app/instances.yml"]
tarantool-router2:
build:
context: .
dockerfile: Dockerfile
ports:
- "8082:8081"
command: ["cartridge", "start", "app.router2", "--script", "/opt/cartridge-app/init.lua", "--cfg", "/opt/cartridge-app/instances.yml"]
tarantool-router3:
build:
context: .
dockerfile: Dockerfile
ports:
- "8083:8081"
command: ["cartridge", "start", "app.router3", "--script", "/opt/cartridge-app/init.lua", "--cfg", "/opt/cartridge-app/instances.yml"]
tarantool-stateboard:
build:
context: .
dockerfile: Dockerfile
command: ["cartridge", "start", "app.stateboard", "--script", "/opt/cartridge-app/stateboard.init.lua", "--cfg", "/opt/cartridge-app/instances.yml"]