This docker is intended to be a reverse proxy to make UI be accessed with HTTPS.
It redirects https (443) requests to this docker to a target port in host machine.
HTTPS -> HTTP
443 -> 8080
# Using default values for HOST_IP and HOST_PORT
docker run -d --name haproxy-https -p 443:443
# Informing environment variables
docker run -d --name haproxy-https -p 443:443 -e "HOST_PORT=8080"
Or using Docker Compose (docker-compose.yml)
version: '3'
services:
haproxy-https:
container_name: haproxy-https
image: apontador/haproxy-https
ports:
- "443:443"
environment:
HOST_PORT: "8080"
"/C=BR/ST=SaoPaulo/L=SaoPaulo/O=local/CN=local.apontador.com.br"Content type
Image
Digest
Size
35.8 MB
Last updated
almost 7 years ago
docker pull apontador/haproxy-https