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