Skip to content

My personal traefik reverse proxy configuration on docker

Notifications You must be signed in to change notification settings

HugoDemaret/Traefik-docker

Repository files navigation

Traefik docker configuration

With Let's Encrypt certificate !

Pour les utilisateurs français, voir FRENCH.md

Automatic installation :

  • Run the following and follow the instructions :

wget https://raw.githubusercontent.com/HugoDemaret/Traefik-docker/main/auto_installer.sh

sudo bash auto_installer.sh

  • To start Traefik run :

sudo bash start.sh

Manual installation :

  • Install docker and docker compose

apt-get install docker docker-compose

  • Copy this repository

git clone https://github.com/HugoDemaret/Traefik-docker.git

  • Replace your.url in docker-compose.yml by your URL

  • Set the path to your installation in docker-compose.yml

  • Set your email address in traefik.toml

  • Run the authcreate.sh script and follow the instructions

sudo bash auth_create.sh

  • Replace name_of_user:hashed_password by the user name and the hash generated previously

  • Create a file named acme.json and set its permissions to 600

touch acme.json chmod 600 acme.json

  • Create a docker network named "expose-network"

docker network create expose-network --subnet=172.20.0.0/16

  • Modify the path (in start.sh) and run start.sh

sudo bash start.sh

To do list:

  1. Improve the current README.md file by making it more readable and user-friendly :
  2. Make a windows version

About

My personal traefik reverse proxy configuration on docker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages