Finish packaging and change to src-based packaging layout, replace caddy with haproxy for performance, and update docker-compose and Dockerfiles for new packaging.

This commit is contained in:
badblocks 2025-05-09 18:39:04 -07:00
parent 959b06c425
commit 762361a21b
210 changed files with 235 additions and 168 deletions

18
haproxy/haproxy.dev.cfg Normal file
View file

@ -0,0 +1,18 @@
defaults
mode http
timeout client 10s
timeout connect 5s
timeout server 10s
timeout http-request 10s
frontend cf
bind :8000
default_backend django
backend django
option httpchk
http-check send meth GET uri /health/
http-check expect string OK/HEALTHY
default-server check maxconn 10000 observe layer7
server django web:8000