Initial commit
This commit is contained in:
commit
9cd7de39d6
4
Dockerfile
Normal file
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
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}"
|
Loading…
x
Reference in New Issue
Block a user