Haproxy configuration

This commit is contained in:
2022-07-28 23:00:31 +02:00
parent 9aef21657c
commit 9cdf8f83c8
7 changed files with 76 additions and 40 deletions

View File

@@ -9,6 +9,11 @@ DB_PORT="testdb"
DB_NAME="testdb"
# Port Mapping
## Frontend Port will be used by frontend container to expose itself
FRONTEND_PORT="30381"
## Backend Port will be used by bachend container to expose itself
BACKEND_PORT="30382"
HAPROXY_PORT="80"
## Haproxy Port will be used by haproxy container to expose webserver & backends based on uri
HAPROXY_PORT="80"
## Haproxy Stats Port will display haproxy stats interface
HAPROXY_STATS_PORT="81"