-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-stack.yml
43 lines (40 loc) · 1.06 KB
/
docker-stack.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.6'
x-defaults: &defaults
image: dockerregistry.lnls-sirius.com.br/haproxy:2.2
dns:
- 10.0.0.71
- 10.0.0.72
dns_search:
- abtlus.org.br
logging:
driver: "json-file"
options:
max-file: "4"
max-size: "250m"
networks:
- host_network
networks:
host_network:
external: true
name: "host"
services:
ta:
<<: *defaults
volumes:
- /storage/services/repository/docker-stacks/Haproxy/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
- /storage/services/repository/docker-stacks/Haproxy/ssl/haproxy.pem:/etc/ssl/haproxy.pem:ro
deploy:
replicas: 1
placement:
constraints:
- node.hostname == TA-TiRack-CO-FWSrv-1
ca:
<<: *defaults
volumes:
- /storage/services/repository/docker-stacks/Haproxy/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
- /storage/services/repository/docker-stacks/Haproxy/ssl/haproxy.pem:/etc/ssl/haproxy.pem:ro
deploy:
replicas: 1
placement:
constraints:
- node.hostname == CA-RaCtrl-CO-Srv-1