2024-08-15 09:01:42 +02:00
2021-04-17 12:50:09 +00:00
2021-04-17 12:50:09 +00:00
2021-04-14 16:08:55 +00:00
2021-04-17 13:06:01 +00:00

Træfik reverse proxy

Requirements

  • Docker
  • docke-compose
  • htpasswd (from apache)

Quick start

  1. Create a user to restrict access to the Træfik dashboard:

    htpasswd -nb MyAwesomeUser MyAwesomePassword > conf/users/traefik.htpasswd
    
  2. Copy env.example to .env

  3. Edit .env to adapt the Fully Qualified Domain Name (FQDN) as well as CERT_EMAIL which are used for the Træfik dashboard and let's encrypt validation e-mail.

  4. Create the network used by Træfik to talk to the internal services:

    docker network create --attachable --internal proxy       # Default shared proxy network
    docker network create --attachable --internal proxy_home  # For Main services
    docker network create --attachable --internal proxy_infra # For Network infrastructure
    
  5. Start Træfik:

    docker-compose up -d
    
Description
No description provided
Readme 31 KiB