-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdataplaneapi.yml
More file actions
30 lines (29 loc) · 831 Bytes
/
dataplaneapi.yml
File metadata and controls
30 lines (29 loc) · 831 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
dataplaneapi:
host: 0.0.0.0
port: 5555
userlist:
userlist: dataplaneapi
resources:
maps_dir: /etc/haproxy/maps
ssl_certs_dir: /etc/haproxy/ssl
general_storage_dir: /etc/haproxy/general
spoe_dir: /etc/haproxy/spoe
transaction:
transaction_dir: /var/lib/dataplaneapi/transactions
backups_number: 10
backups_dir: /var/lib/dataplaneapi/backups
haproxy:
config_file: /usr/local/etc/haproxy/haproxy.cfg
haproxy_bin: /usr/local/sbin/haproxy
reload:
reload_delay: 5 # int 2
reload_cmd: "killall haproxy && haproxy -f /usr/local/etc/haproxy/haproxy.cfg"
restart_cmd: "killall haproxy && haproxy -f /usr/local/etc/haproxy/haproxy.cfg"
reload_strategy: custom
log_targets:
- log_to: file
log_file: /var/log/dataplaneapi.log
log_level: info
log_types:
- access
- app