Compose-Examples/examples/authelia
LRVT dbb3bbc6a6
Update README.md
add some more notes regarding authelia setup
2023-03-02 02:16:28 +01:00
..
config add authelia 2023-03-02 00:37:37 +01:00
docker-compose.yml add authelia 2023-03-02 00:37:37 +01:00
README.md Update README.md 2023-03-02 02:16:28 +01:00

References

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 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