The badge displayed on my repository indicates the status of the deployment verification workflow as executed on the latest commit to the main branch.
Passing: This means the most recent commit has successfully passed all deployment checks, confirming that the Docker Compose setup functions correctly as designed.
📙 The complete installation guide is available on my website.
❗ Create secret for storing Authelia using the command:
chmod +x generate-authelia-secrets.sh && ./generate-authelia-secrets.sh
❗ Change variables in the .env
, config/configuration.yml
, and config/users_database.yml
files to meet your requirements.
❗ Update the SMTP settings in config/configuration.yml
to ensure Authelia functions properly. Authelia relies on these settings for sending email notifications for password resets, two-factor authentication setups, and more.
💡 Note that the .env
file should be in the same directory as authelia-traefik-letsencrypt-docker-compose.yml
.
Create networks for your services before deploying the configuration using the commands:
docker network create traefik-network
docker network create authelia-network
Deploy Authelia using Docker Compose:
docker compose -f authelia-traefik-letsencrypt-docker-compose.yml -p authelia up -d
To integrate Authelia for authentication in your container services managed by Traefik, follow the steps below. This will ensure secure access by requiring authentication through Authelia.
Add the following label to your container configuration to enable Authelia. Replace your-router-name
with the name of your specific router:
- "traefik.http.routers.your-router-name.middlewares=authelia@docker"
If you are enabling Authelia on a service called "whoami", the label would look like this:
- "traefik.http.routers.whoami.middlewares=authelia@docker"
If your service already uses other middlewares, append authelia@docker
to the existing list, separated by a comma:
- "traefik.http.routers.your-router-name.middlewares=existing-middleware,authelia@docker"
I’m Vladimir Mikhalev, the Docker Captain, but my friends can call me Valdemar.
🌐 My website with detailed IT guides
🎬 Follow me on YouTube
🐦 Follow me on Twitter
🎨 Follow me on Instagram
🧵 Follow me on Threads
🐘 Follow me on Mastodon
🧊 Follow me on Bluesky
🎸 Follow me on Facebook
🎥 Follow me on TikTok
💻 Follow me on LinkedIn
🐈 Follow me on GitHub
👾 Chat with IT pros on Discord
📧 Reach me at ask@sre.gg
💎 Support on GitHub
🏆 Support on Patreon
🥤 Support on BuyMeaCoffee
🍪 Support on Ko-fi
💖 Support on PayPal