HAProxy

HAProxy - Reliable, high performance TCP/HTTP load balancer

80
Default Port
1
Services
11.0/20
Complexity
Low
Memory Usage
Configuration

Installation Command

blastdock init haproxy

Template Overview

Everything you need to deploy Haproxy with BlastDock

Quick Deploy

One command deployment

Secure

Production-ready security

Configurable

Customizable settings

Scalable

Ready to scale up

What's Included

Haproxy
haproxy:latest
Categories
Proxy/Load Balancer
Security Features
Password Protection, SSL/HTTPS Support
Resource Requirements
CPU: Low, Memory: Low , Storage Required

Quick Commands

blastdock init Initialize new project
blastdock deploy Deploy the application
blastdock status Check deployment status
blastdock logs View application logs

Quick Installation

Get Haproxy up and running in minutes with our one-click installation.

BlastDock Installation

First, install BlastDock using pip (recommended):

Terminal
pip install blastdock

Then deploy Haproxy with:

Terminal
blastdock init haproxy

Interactive mode:

Terminal
blastdock init haproxy -i

What's Included

Haproxy
Container service

BlastDock Commands

blastdock templates List available templates
blastdock status project Check deployment status
blastdock logs project View application logs
blastdock stop project Stop deployment

Configuration Options

Customize your Haproxy installation with these configuration options.

5
Required Fields
0
Optional Fields
1
Auto-Generated Passwords

Http Port

HTTP port

port
Default: 80
Required: Yes

Https Port

HTTPS port

port
Default: 443
Required: Yes

Stats Port

Stats page port

port
Default: 8404
Required: Yes

Stats Username

Stats username

string
Default: admin
Required: Yes

Stats Password

Stats password

password
Default: ••••••••••••
Required: Yes
Security: Auto-generated

Docker Compose

Complete Docker Compose configuration for Haproxy deployment.

1
Services
2
Volumes
1
Networks
3
Exposed Ports
docker-compose.yml
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