HAProxy Alpine

HAProxy Alpine is a lightweight, Alpine Linux-based Docker image for HAProxy, the open-source TCP and HTTP load balancer, providing high-availability reverse…

  • Network Services
  • Tools & Utilities
HAProxy Alpine is a lightweight, Alpine Linux-based Docker image for HAProxy, the open-source TCP and HTTP load balancer, providing high-availability reverse proxying, traffic distribution, and SSL termination for homelab and production environments.

Platform availability

Available on 0 of 10 platforms

  • Unraid (not listed)
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

67/100 Good

Maintained
100last commit 24 days ago
Popular
3240 GitHub stars
Easy to install
250 install platforms, install notes, Docker image
Light to run
No data
Security check
85no serious findings, CI

Based on 4 of 5 factors.

Availability: platform listings confirmed today

GitHub stars
40
Open issues
0
Last commit
2026-10-28
Activity
rising

Checked 20 days ago - source: GitHub (haproxytech/haproxy-docker-alpine)

Resources & Compatibility

Minimum requirements: 2 CPU core(s). ARM (e.g. Raspberry Pi) is supported.

Checked 54 days ago - source: Docker Hub image tags and published docs

First-install notes

  • Point HAProxy at its config file Start HAProxy with -f followed by your config file so it knows what to route, and add -W -S only if your container setup expects a master socket (the control file HAProxy uses). If the config file is missing or invalid, HAProxy can fail to start; if a required master socket is missing, management tools or health checks may fail. source
  • Give every frontend a working backend In the config, each frontend (public entry point) should point to a backend (your app servers) using default_backend, and each backend should list reachable server addresses. If that link is missing or servers are unreachable, incoming requests can fail even though HAProxy is running. source
  • Use server-template for repeated servers If you are balancing several similar servers, use server-template to create them from one line. It reduces repeated mistakes, such as typos in server names or port numbers, that can make one server unreachable. source

Fetched 53 days ago - each note links to its source

Alternatives (11)

  • BunkerWeb - BunkerWeb is a self-hosted, open-source web application firewall and NGINX-based web server that protects services with secure-by-default s…
  • Cloudflare - Protects websites with front-end proxy, dynamic DNS, CDN, and firewall; blocks DDoS and targeted attacks, optimizes traffic, and analyzes t…
  • Envoy Gateway - Envoy Gateway is an open-source project that manages Envoy Proxy as a standalone or Kubernetes-based application gateway.
  • Fossorial Pangolin - Open-source identity-based remote access platform using WireGuard, offering unified management, tunneled connections, granular access contr…
  • Haproxy - HAProxy is a TCP proxy and a HTTP reverse proxy.
  • Nginx Proxy Manager - Nginx Proxy Manager is a self-hosted reverse proxy and web server that lets you expose home or small-office applications to the internet wi…
  • Træfik Proxy - The Cloud Native Application Proxy Simplify networking complexity while designing, deploying, and operating applications.
  • netoptimizer™ - NetOptimizer is a Windows utility that automatically adjusts network, telemetry, and service settings to reduce overhead and improve browsi…
  • nginx - Nginx is an HTTP web server, reverse proxy, content cache, load balancer, TCP/UDP proxy, and mail proxy server.
  • npmplus - NPMplus is an improved fork of Nginx Proxy Manager that provides a web interface for managing reverse proxy rules, SSL certificates, and ap…
  • zoraxy - Zoraxy is a free, open-source, general-purpose reverse proxy and TCP/UDP forwarding tool for home servers and homelabs.

Checked 40 days ago - source: AlternativeTo

Common questions

Why does HAProxy appear to start but stop in an Alpine container?

Make HAProxy the main foreground process in the container. Running it after other services can leave the container without a persistent process to keep it running.

How do I specify the HAProxy config file and when should I add -W -S?

Start HAProxy with -f followed by your config file. Add -W -S only if your container setup expects a master socket, since a missing or invalid config can prevent startup and a missing socket can break management tools or health checks.

Why can incoming requests fail even though HAProxy is running?

Each frontend must point to a backend using default_backend, and each backend must list reachable server addresses. Use server-template for repeated servers to reduce typos in server names or ports.

What edge-exposure issue should I consider for haproxy:3.1-alpine?

HAProxy terminates TLS, load-balances every inbound connection, and is the first thing an attacker reaches. A stock haproxy:3.1-alpine container can score 63/100 in a hardening context, so hardening should be reviewed.

Answers sourced from github.com, github.com, ironsecco.github.io, www.reddit.com

Community

Collected 48 days ago - public community threads