konstfish / https-localhost

🔒localhost HTTPS Proxy Container

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTTPS Localhost Container

HTTPS for localhost using mkcert

Docker Image Version

Setup

brew install mkcert
brew install nss # for firefox

mkdir -p ~/mkcert
cd ~/mkcert

mkcert -install
mkcert localhost

Build

git clone https://github.com/konstfish/https-localhost
cd https-localhost
docker build -t konstfish/https-localhost .

Running with Standalone Containers

docker run -v ~/mkcert:/certs -p 80:80 -p 443:443 -e PORT=3000 -d konstfish/https-localhost

Running in docker-compose

services:
  https-localhost:
    image: konstfish/https-localhost
    volumes:
      - ~/mkcert:/certs
    ports:
      - 443:443
      - 80:80
    links:
      - frontend
    environment:
      HOST: frontend
      PORT: 3000
    restart: always

About

🔒localhost HTTPS Proxy Container


Languages

Language:Dockerfile 59.3%Language:Shell 40.7%