-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprod.compose.yml
More file actions
39 lines (38 loc) · 892 Bytes
/
prod.compose.yml
File metadata and controls
39 lines (38 loc) · 892 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
38
39
# Production environment for Tablo (does not require source code checked out)
services:
tablo-master:
image: ${reg}/tablo-full:latest
build:
context: .
dockerfile: prod.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: ${reg}/tablo-full:latest
build:
context: .
dockerfile: prod.Dockerfile
deploy:
replicas: 3
restart_policy:
condition: on-failure
expose:
- 8080
# ports: <- Expose Node to random port at Host for debugging
# - 8080
command:
- /tablo-full/bin/tablo-node
networks:
- tablo-net
networks:
tablo-net:
driver: overlay
attachable: true