Getting Started
Installation
How to run SNI Router from Docker or build it from source.
Installation
Requirements
- Docker 20.10+ (or Docker Engine with Compose v2)
- A host with ports
443(and optionally80) reachable from the internet
No other runtime dependencies are required — the image contains HAProxy and the shell entrypoint.
Pull the published image
docker pull ghcr.io/circle-rd/sni-router:latest
The image is published to the GitHub Container Registry on every release and supports three architectures:
| Tag | Platforms |
|---|---|
latest | linux/amd64, linux/arm64, linux/arm/v7 |
<sha> | same, pinned to a specific commit |
Build from source
git clone https://github.com/circle-rd/sni-router.git
cd sni-router
docker build -t sni-router .
The Dockerfile uses a two-stage build:
- Base image —
haproxy:3.3-alpine - The
entrypoint.shscript is copied in and made executable - HAProxy runs as the unprivileged
haproxyuser
Verify the image
docker run --rm ghcr.io/circle-rd/sni-router:latest haproxy -v
Expected output includes the HAProxy version string, e.g.:
HAProxy version 3.3.x ...