Git Product home page Git Product logo

docker-https-proxy's Introduction

Easy Docker HTTP(s) Proxy Build Status

This is an easy to use HTTP(s) proxy for your docker containers that you can use to have multiple containers running on a single machine and to proxy requests among those containers.

Prerequisites

  • Docker - The containerization service.
  • docker-compose - The orchestration service for your environment.

Getting Started

Using Docker Hub

docker run --name=proxy -d -p 80:80 -p 443:443 shroomlife/docker-https-proxy:latest

๐Ÿณ https://hub.docker.com/r/shroomlife/docker-https-proxy

Using Docker Compose

Use the following example docker-compose.yml file.

version: '3.3'
services:
  proxy:
    container_name: proxy
    image: shroomlife/docker-https-proxy:latest
    ports:
      - "80:80"
      - "443:443"
  webserver:
    container_name: example.com.proxy
    image: httpd:latest

When your server with docker is contacted at example.com all requests will be proxied to your custom container on port 80.

Using Custom Redirect Port on Proxy

The default port for the connection to your containers is 80. You can set the environment variable REDIRECT_PORT to a different port.

docker-https-proxy's People

Contributors

shroomlife avatar dependabot[bot] avatar ferferga avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.