Skip to content

Traefik reverse proxy configuration using Docker-Compose. Enforces HTTPS and fetches certificates from Let's Encrypt.

License

Notifications You must be signed in to change notification settings

klumbe/ReverseProxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About the Project

This is a basic reverse-proxy configuration designed to run on a RaspberryPi. It uses Traefik running on Docker using Docker-Compose.

HTTPS is enforced by using Let's Encrypt with the HTTP Challenge.

Getting Started

Prerequisites

Installation

  1. Clone this repo

    # sudo git clone https://github.com/klumbe/ReverseProxy
  2. Generate password(s) for the Traefik dashboard:

    # htpasswd ./conf/auth/traefik_basic <username>
  3. Change the email-address used by Let's Encrypt in conf/traefik.yaml to your own:

    email: mail.example.org
    

    This will probably be improved in a future commit.

  4. Create the external docker network traefik-external through that Traefik can connect to the services:

    # sudo docker network create traefik-external
  5. Start the container in detached mode:

    # sudo docker-compose up -d

About

Traefik reverse proxy configuration using Docker-Compose. Enforces HTTPS and fetches certificates from Let's Encrypt.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published