commit 9cd7de39d6a89bca2065e4843f6509b2ff8073a3
Author: Hackintosh Five <git@hack5.dev>
Date:   Mon Jun 12 21:13:59 2023 +0100

    Initial commit

diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..fde198f
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,4 @@
+FROM haproxy:lts
+ENV PORT=3890
+EXPOSE $PORT
+ADD haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg
diff --git a/haproxy.cfg b/haproxy.cfg
new file mode 100644
index 0000000..e64f6b1
--- /dev/null
+++ b/haproxy.cfg
@@ -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}"