From dbb3bbc6a6375372b6ba1bdea9dfcccd5a155f30 Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Thu, 2 Mar 2023 02:16:28 +0100 Subject: [PATCH] Update README.md add some more notes regarding authelia setup --- examples/authelia/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/examples/authelia/README.md b/examples/authelia/README.md index b2d73c2..b6cd724 100644 --- a/examples/authelia/README.md +++ b/examples/authelia/README.md @@ -7,3 +7,16 @@ # Notes You have to put the configuration files in the directory `config` to your Docker volume bind mount. + +The do the following: + +1. Adjust the configuration.yml to your needs. Especially replace exmaple.com with your own domain name. Add all your to be protected subdomains to the access_control area. +2. Adjust users_database.yml and add your user accounts. You can create new password hashes via `docker run --rm authelia/authelia:latest authelia crypto hash generate argon2 --password 'ExamplePassword'` +3. Adjust your Traefik dynamic configuration and add authelia as middleaware. See [here](../traefik/fileConfig.yml) for an example configuration file. +4. Finally, add authelia as middleware for each container to protect. I recommend using labels. Note that authelia should always be listed first. + +```` + labels: + - traefik.enable=true + - traefik.http.routers.protected-service.middlewares=authelia@file,local-ipwhitelist@file +````