raph6 / docker-traefik

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Traefik Server with Docker

Traefik 3 is soon available in stable version, you can find the changes on this branch

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=your@email.com 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

About

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


Languages

Language:Dockerfile 100.0%