feat(haproxy): 添加haproxy配置文件和部署文档

添加haproxy相关配置文件包括:
1. 部署文档readme.md
2. 环境变量配置文件env.cfg
3. docker-compose部署文件stack.yml
4. MySQL和Redis代理配置haproxy_mysql_redis.cfg
5. 主配置文件haproxy.cfg
This commit is contained in:
cnphpbb
2025-12-16 13:13:48 +08:00
parent 8778ae611f
commit 6b09c9b714
5 changed files with 230 additions and 0 deletions

7
haproxy/env.cfg Normal file
View File

@@ -0,0 +1,7 @@
IMAGE_TAG_VER=3.3.0
IMAGE_TAG_DEV=3.4-dev
IMAGE_TAG=haproxy:${IMAGE_TAG_VER}
Volumes_Path=/data/configs/haproxy
REDIS_PORT=6379
MYSQL_TEST_PORT=3306
MYSQL_DEV_PORT=3308