-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev.compose.yml
More file actions
37 lines (36 loc) · 828 Bytes
/
dev.compose.yml
File metadata and controls
37 lines (36 loc) · 828 Bytes
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
# Development / Test environment for Tablo
services:
tablo-master:
image: tablo-full:latest
build:
context: .
dockerfile: dev.Dockerfile
deploy:
replicas: 1
restart_policy:
condition: on-failure
command:
- /tablo-full/bin/tablo-master
networks:
- tablo-net
# ports: <- Expose Master to Host so clients can connect
# - Container:Host
tablo-node:
image: tablo-full:latest
build:
context: .
dockerfile: dev.Dockerfile
deploy:
replicas: 2
restart_policy:
condition: on-failure
ports: #<- Expose Node to random port at Host for debugging
- "8080:8080"
command:
- /tablo-full/bin/tablo-node
networks:
- tablo-net
networks:
tablo-net:
driver: overlay
attachable: true