Auto-Traefik: Dead Simple Traefik Reverse Proxy Automator for Docker

Can’t get Traefik to work? Or, just want to be up and running quickly? Then this Auto-Traefik script is for you.

I have been using Docker for over 5 years and Traefik for over 4 years now. They are key parts of my smart home setup and I have documented their installation and setup in the following guides:

But Traefik reverse proxy can be tricky to setup as there are many things to pay attention to. Nearly 90% of the support requests we receive on our Discord server are user errors.

Maybe you have tried everything and you just can't figure out what the problem is. Maybe you just need to see some proof that Traefik even works in your setup. If so, this automated Traefik script is your friend.

What is Auto-Traefik

I combined my years of experience writing guides and helping thousands of people on Traefik and docker to write this script, which is currently nearly 2500 lines long. It took weeks of writing and testing.

Thanks also to a few volunteers on our Discord server that tested the script.

What do Users Say About Auto-Traefik?

What does Auto-Traefik do?

It automates the installation of docker, Traefik, Portainer, Authelia, etc. (more apps to be added later) and secures it. It creates the Docker environment and the required files and folders with the right permissions, so you do not miss something important. All your applications will be available via a valid LetsEncrypt SSL certificate.

The YouTube Playlist below (version 2.0) is a complete video series (~1.5 hours) on how to use Auto-Traefik and all its features. Version 3.0 is simpler and offers more features than what is shown below.
Playlist: Auto Traefik 2 - Docker, Traefik, SSL, Authelia, and more in minutes
Watch this playlist on YouTube

Screenshots (Version 3.0.1)

Script Updates

Current Version: 3.1 (April 14, 2024)

Release Announcement: Auto-Traefik Version 3.0 – Backups, Guacamole, More Free Options, etc.

GitHub Changelog:


The main objective of Auto-Traefik is to help my visitors setup an environment that is exactly how I run my stuff. This is entirely possible for free with my guides and GitHub repo. And my GitHub repo is my real setup, shared 'as-is'.

The purpose of AutoTraefik licensing is to add value to the supporting members of the site. But I understand some of you may not want to sign up for membership. Hence, why is there now a possibility to purchase the script separately at a level of your choice. Here is a comparison.

Please note that there is a limit of 3 max domains per account. This is more than sufficient for most homelabbers. If you are an agency or enterprise intending to use the script to simplify your workflow/deployments for clients, please get contact us.
Ensure prerequisites but build your stack manually. Ensure prerequisites and setup the basic Docker-Traefik stack. Add
authentication and additional apps manually.
Ensure prerequisites and setup scalable Docker-Traefik stack with Apps and
System checks
Docker checks
Port checks
Domain and DNS checks
Docker Environment Setup
(with STARTER - FREE membership)
Socket Proxy Setup
Anand's Docker Bash Aliases
Docker Disk Usage Management
Traefik Environment Setup
Traefik Staging Setup
Traefik Production Setup
Authelia Setup
Authentication Management for Apps
Additional Apps✓ (Portainer, Dozzle, Glances, Homepage, Homarr, Uptime-Kuma, MariaDB, InfluxDB, Prometheus, phpMyAdmin, Guacamole, Vaultwarden, and Backups)
Upgrade any-time from your Account Page or Join Page.
One-time CostFREE $19.99 $69.99
Included in MembershipsJoin Now Silver - Yearly, Gold - Yearly, and Platinum (Lifetime)Gold - Yearly and Platinum (Lifetime)
🔥 6-Month Anniversary Sale! 10% discount (CODE: 6MONTHS. LIMIT: first 25 signups).

How to Use Auto Traefik

I strongly urge you to review the How to use Auto-Traefik? for details on how to use the script.
Course (Included): How To Use Auto-Traefik?
Course (Included): How To Use Auto-Traefik?

Here are the basic steps to get started. Download the script using the following command:

Auto-Traefik executable binary can be download the .shb file from the GitHub Repo and uploaded to your server using any SFTP client.

For Raspberry Pi, use -arm.shb file instead.

Alternatively, you can use wget command to download it directly on your server:


Remember to replace v3.1 with the current version number.

Once you have the script on the server, make it executable using the following command:

sudo chmod +x auto-traefik_v3.1.shb

Then, run it using the following command:

Note: Since version 3.1, Auto-Traefik must be executed with sudo privileges as shown below.
sudo ./auto-traefik_v3.1.shb
Note: Do not ignore the period in front of the command.

You may run the script as many times as you like (only applies to a clean OS). In fact, if it errors for some reason, rerun it before reaching out for support.

Concluding Remarks

As mentioned in my recent post about the state of the site and introduction of memberships, I am working to add more value to members so I can sustain the operations in its current state.

However, I still truly believe in teaching. While this script is a nice perk, it definitely is not a requirement for you to setup Traefik. If you have the willingness to learn and time, my Traefik guide, Docker guide, and GitHub Repo are all you need.

Whatever the case for you to try this script, I hope that it served its purpose.

Be the 1 in 200,000. Help us sustain what we do.
37 / 150 by Dec 31, 2024
Join Us (starting from just $1.67/month)


Anand is a self-learned computer enthusiast, hopeless tinkerer (if it ain't broke, fix it), a part-time blogger, and a Scientist during the day. He has been blogging since 2010 on Linux, Ubuntu, Home/Media/File Servers, Smart Home Automation, and related HOW-TOs.

Get 10% Off