Initial commit

This commit is contained in:
Hackintosh Five 2023-06-12 21:13:59 +01:00
commit 9cd7de39d6
2 changed files with 19 additions and 0 deletions

4
Dockerfile Normal file

@ -0,0 +1,4 @@
FROM haproxy:lts
ENV PORT=3890
EXPOSE $PORT
ADD haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg

15
haproxy.cfg Normal file

@ -0,0 +1,15 @@
global
log stderr local0 debug
defaults
mode tcp
log global
option tcplog
timeout connect 5s
timeout client 50s
timeout server 50s
listen tcp-in
bind "0.0.0.0:${PORT}"
server server1 "${TARGET}"