Skip to content

Set up and manage your network with an easy-to-use reverse proxy solution utilizing Traefik 3 and Docker

Notifications You must be signed in to change notification settings

raph6/docker-traefik

Repository files navigation

Traefik Server with Docker (Traefik 3 available)

Traefik 3 is now available, on branch master.

Traefik 2 is still usable from branch traefik-2

Getting started

Make sure you have Docker and docker-compose installed and your DNS records set up

git clone https://github.com/raph6/docker-traefik.git
cd docker-traefik

Setup Traefik

cd traefik

# create acme.json
touch traefik/acme/acme.json
chmod 600 traefik/acme/acme.json

# create your admin user file
htpasswd -B -C 14 -c traefik/basicAuth/.admin *your-username*

htpasswd can be found in the package apache2-utils

sudo apt-get install apache2-utils (adjust for your distribution)

Run Traefik

In Traefik folder: Make .env file on the same model as .env.exemple

docker compose up -d

or

[email protected] TRAEFIK_URL=traefik.yourdomain.tld docker compose up -d

Services you can use

Feel free to ask for another project

Informations

HTTPS is enabled by default, your certificates are generated and automatically renewed

PR are welcome