Public | Automated Build

Last pushed: 15 days ago
Short Description
Short description is empty for this repo.
Full Description

Pointsman

Simple haproxy docker image redirecting HTTP => HTTPS behind an AWS ELB

Usage

docker run -p 8080:8080 -p 8081:8081 -e HEALTH_CHECK_URI=/check -e FRONTEND_PORT=8080 -e BACKEND_HOST=172.17.0.1 -e BACKEND_PORT=3000 --name pointsman airvantage/pointsman

Binds your ELB HTTP and HTTPS listeners on FRONTEND_PORT and your backend with BACKEND_HOST and BACKEND_PORT. We also open :8081 port for the ELB health check on URI HEALTH_CHECK_URI.

                                    -->  HTTPS     HTTP
                                   |       |        |
                                   |       v        v
                   ----------------|----[:443]----[:80]----
           ELB    |                |       |        |      |
                  |  healthcheck   |       |_     _ |      |
                  |    /check      |          |  |         |
                  |       |        |          |  |         |
                  |-------|--------|----------|--|---------|
                          |        |          v  v
                   ----[:8081]-----|--------[:8080]--------
                  |       |        |           |           |
            EC2   |       |         --- No - HTTPS?        |
                  |       |                    |           |
                  |       |                 frontend       |
                  |       |                    |           |
                  |        ------ > /check  [:3000]        |
                  |                         backend        |
                  |________________________________________|

See haproxy.cfg file for more details.

License

MIT © Sierra Wireless

Docker Pull Command
Owner
airvantage
Source Repository