From 91376a5b3d1ae42a280afd27f37a1b889ea8daf2 Mon Sep 17 00:00:00 2001 From: Amir Zarrinkafsh Date: Fri, 19 Jun 2020 12:30:13 +1000 Subject: [PATCH] [BUGFIX] Re-add local compose configuration files (#1131) This is also to address a regression from #1113. Fixes #1129. --- compose/local/authelia/configuration.yml | 45 +++++++++++++++++++++++ compose/local/authelia/users_database.yml | 14 +++++++ 2 files changed, 59 insertions(+) create mode 100644 compose/local/authelia/configuration.yml create mode 100644 compose/local/authelia/users_database.yml diff --git a/compose/local/authelia/configuration.yml b/compose/local/authelia/configuration.yml new file mode 100644 index 00000000..b1aa88fe --- /dev/null +++ b/compose/local/authelia/configuration.yml @@ -0,0 +1,45 @@ +############################################################### +# Authelia configuration # +############################################################### + +host: 0.0.0.0 +port: 9091 +log_level: debug +jwt_secret: a_very_important_secret +default_redirection_url: https://public.example.com +totp: + issuer: authelia.com + +authentication_backend: + file: + path: /config/users_database.yml + +access_control: + default_policy: deny + rules: + - domain: public.example.com + policy: bypass + - domain: traefik.example.com + policy: one_factor + - domain: secure.example.com + policy: two_factor + +session: + name: authelia_session + secret: unsecure_session_secret + expiration: 3600 # 1 hour + inactivity: 300 # 5 minutes + domain: example.com # Should match whatever your root protected domain is + +regulation: + max_retries: 3 + find_time: 120 + ban_time: 300 + +storage: + local: + path: /config/db.sqlite3 + +notifier: + filesystem: + filename: /config/notification.txt \ No newline at end of file diff --git a/compose/local/authelia/users_database.yml b/compose/local/authelia/users_database.yml new file mode 100644 index 00000000..3feabf73 --- /dev/null +++ b/compose/local/authelia/users_database.yml @@ -0,0 +1,14 @@ +############################################################### +# Users Database # +############################################################### + +# This file can be used if you do not have an LDAP set up. + +# List of users +users: + : + password: "" + email: @example.com + groups: + - admins + - dev \ No newline at end of file