File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ RUN wget -O dataplaneapi.apk https://github.com/haproxytech/dataplaneapi/release
77RUN apk add --allow-untrusted dataplaneapi.apk
88RUN mkdir /run/haproxy
99RUN touch /run/haproxy/admin.sock
10+ COPY ./dataplaneapi.yml /etc/haproxy/dataplaneapi.yaml
1011
1112VOLUME /etc/letsencrypt
1213EXPOSE 80 443
Original file line number Diff line number Diff line change 1+ dataplaneapi :
2+ host : 0.0.0.0
3+ port : 5555
4+ userlist :
5+ userlist : dataplaneapi
6+ resources :
7+ maps_dir : /etc/haproxy/maps
8+ ssl_certs_dir : /etc/haproxy/ssl
9+ general_storage_dir : /etc/haproxy/general
10+ spoe_dir : /etc/haproxy/spoe
11+ transaction :
12+ transaction_dir : /var/lib/dataplaneapi/transactions
13+ backups_number : 10
14+ backups_dir : /var/lib/dataplaneapi/backups
15+ haproxy :
16+ config_file : /usr/local/etc/haproxy/haproxy.cfg
17+ haproxy_bin : /usr/local/sbin/haproxy
18+ reload :
19+ reload_delay : 5 # int 2
20+ reload_cmd : " killall haproxy && haproxy -f /usr/local/etc/haproxy/haproxy.cfg"
21+ restart_cmd : " killall haproxy && haproxy -f /usr/local/etc/haproxy/haproxy.cfg"
22+ reload_strategy : custom
23+ log_targets :
24+ - log_to : file
25+ log_file : /var/log/dataplaneapi.log
26+ log_level : info
27+ log_types :
28+ - access
29+ - app
30+
You can’t perform that action at this time.
0 commit comments