feat: add initial project structure and files for Go API with PostgreSQL and HAProxy

Co-authored-by: aider (ollama/qwen2.5-coder:7b) <aider@aider.chat>
This commit is contained in:
2026-11-09 19:51:17 +03:00
co-authored by aider
parent 0ab3a341aa
commit 7734b222f8
11 changed files with 333 additions and 323 deletions
+11
View File
@@ -0,0 +1,11 @@
frontend http-in
bind *:8080
default_backend api_servers
backend api_servers
balance roundrobin
option httpchk GET /health
server api1 api1:8080 check inter 3s fall 3 rise 2
server api2 api2:8080 check inter 3s fall 3 rise 2
http-request set-header X-Instance-Id %[req.hdr(X-Instance-Id)]