HAProxy - Reliable, high performance TCP/HTTP load balancer
Everything you need to deploy Haproxy with BlastDock
One command deployment
Production-ready security
Customizable settings
Ready to scale up
blastdock init
Initialize new project
blastdock deploy
Deploy the application
blastdock status
Check deployment status
blastdock logs
View application logs
Get Haproxy up and running in minutes with our one-click installation.
First, install BlastDock using pip (recommended):
pip install blastdock
Then deploy Haproxy with:
blastdock init haproxy
Interactive mode:
blastdock init haproxy -i
blastdock templates
List available templates
blastdock status project
Check deployment status
blastdock logs project
View application logs
blastdock stop project
Stop deployment
Customize your Haproxy installation with these configuration options.
HTTP port
HTTPS port
Stats page port
Stats username
Stats password
Complete Docker Compose configuration for Haproxy deployment.
version: '3.8'
services:
haproxy:
image: haproxy:latest
container_name: {{ project_name }}_haproxy
restart: unless-stopped
ports:
- "80"
- "443"
- "8404"
environment:
0: STATS_USERNAME={{ stats_username }}
1: STATS_PASSWORD={{ stats_password }}
volumes:
- /usr/local/etc/haproxy
- /certs
networks:
- haproxy_network
volumes:
haproxy_config:
driver: local
haproxy_certs:
driver: local
networks:
haproxy_network:
driver: bridge