authelia/internal/suites
Amir Zarrinkafsh ff7f9a50ab
[FEATURE] Docker simplification and configuration generation (#1113)
* [FEATURE] Docker simplification and configuration generation
The Authelia binary now will attempt to generate configuration based on the latest template assuming that the config location specified on startup does not exist. If a file based backend is selected and the backend cannot be found similarly it will generate a `user_database.yml` based a template.

This will allow more seamless bootstrapping of an environment no matter the deployment method.

We have also squashed the Docker volume requirement down to just `/config` thus removing the requirement for `/var/lib/authelia` this is primarily in attempts to simplify the Docker deployment.

Users with the old volume mappings have two options:
1. Change their mappings to conform to `/config`
2. Change the container entrypoint from `authelia --config /config/configuration.yml` to their old mapping

* Adjust paths relative to `/etc/authelia` and simplify to single volume for compose
* Add generation for file backend based user database
* Refactor Docker volumes and paths to /config
* Refactor Docker WORKDIR to /app
* Fix integration tests
* Update BREAKING.md for v4.20.0
* Run go mod tidy
* Fix log_file_path in miscellaneous.md docs
* Generate config and userdb with 0600 permissions
* Fix log_file_path in config.template.yml
2020-06-17 16:25:35 +10:00
..
BypassAll [FEATURE] Docker simplification and configuration generation (#1113) 2020-06-17 16:25:35 +10:00
Docker [FEATURE] Docker simplification and configuration generation (#1113) 2020-06-17 16:25:35 +10:00
DuoPush [FEATURE] Docker simplification and configuration generation (#1113) 2020-06-17 16:25:35 +10:00
HAProxy [FEATURE] Docker simplification and configuration generation (#1113) 2020-06-17 16:25:35 +10:00
HighAvailability [FEATURE] Docker simplification and configuration generation (#1113) 2020-06-17 16:25:35 +10:00
LDAP [FEATURE] Docker simplification and configuration generation (#1113) 2020-06-17 16:25:35 +10:00
Mariadb [FEATURE] Docker simplification and configuration generation (#1113) 2020-06-17 16:25:35 +10:00
MySQL [FEATURE] Docker simplification and configuration generation (#1113) 2020-06-17 16:25:35 +10:00
NetworkACL [FEATURE] Docker simplification and configuration generation (#1113) 2020-06-17 16:25:35 +10:00
OneFactorOnly [FEATURE] Docker simplification and configuration generation (#1113) 2020-06-17 16:25:35 +10:00
PathPrefix [FEATURE] Docker simplification and configuration generation (#1113) 2020-06-17 16:25:35 +10:00
Postgres [FEATURE] Docker simplification and configuration generation (#1113) 2020-06-17 16:25:35 +10:00
ShortTimeouts [FEATURE] Docker simplification and configuration generation (#1113) 2020-06-17 16:25:35 +10:00
Standalone [FEATURE] Docker simplification and configuration generation (#1113) 2020-06-17 16:25:35 +10:00
Traefik [FEATURE] Docker simplification and configuration generation (#1113) 2020-06-17 16:25:35 +10:00
Traefik2 [FEATURE] Docker simplification and configuration generation (#1113) 2020-06-17 16:25:35 +10:00
common/ssl [FEATURE] Make Authelia serve over TLS in all suites (#864) 2020-04-14 09:57:28 +10:00
example [FEATURE] Docker simplification and configuration generation (#1113) 2020-06-17 16:25:35 +10:00
README.md Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
action_2fa_methods.go [MISC] Ignore errcheck recommendations for legacy code (#893) 2020-04-22 13:33:14 +10:00
action_http.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
action_login.go [CI] Add PathPrefix integration test suite (#1052) 2020-05-27 13:55:44 +02:00
action_logout.go [CI] Add PathPrefix integration test suite (#1052) 2020-05-27 13:55:44 +02:00
action_mail.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
action_register.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
action_reset_password.go [MISC] Ignore errcheck recommendations for legacy code (#893) 2020-04-22 13:33:14 +10:00
action_totp.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
action_visit.go [CI] Add PathPrefix integration test suite (#1052) 2020-05-27 13:55:44 +02:00
const.go [CI] Add PathPrefix integration test suite (#1052) 2020-05-27 13:55:44 +02:00
docker-compose.yml [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
docker.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
duo.go [CI] Add godot linter (#958) 2020-05-02 15:06:39 +10:00
environment.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
http.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
kubernetes.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
registry.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
scenario_available_methods_test.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
scenario_backend_protection_test.go [CI] Enable gosec linter (#979) 2020-05-05 17:57:30 +10:00
scenario_bypass_policy_test.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
scenario_custom_headers_test.go [MISC] Add coverage for Remote-User and Remote-Groups (#982) 2020-05-06 11:50:37 +10:00
scenario_default_redirection_url_test.go [FIX] Fix default redirection URL not taken into account (#600) 2020-02-01 13:54:50 +01:00
scenario_inactivity_test.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
scenario_one_factor_test.go [FEATURE] Autofocus on authentication and OTP pages (#806) 2020-04-01 10:27:54 +11:00
scenario_redirection_check_test.go [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
scenario_redirection_url_test.go Encode URL set to rd parameter. (#559) 2020-01-19 01:57:42 +11:00
scenario_regulation_test.go [FEATURE] Delay 1FA Authentication (#993) 2020-05-21 00:03:15 +02:00
scenario_reset_password_test.go [CI] Add PathPrefix integration test suite (#1052) 2020-05-27 13:55:44 +02:00
scenario_signin_email_test.go [FEATURE][BREAKING] Allow users to sign in with email. (#792) 2020-03-31 09:36:04 +11:00
scenario_two_factor_test.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
scenario_user_preferences_test.go [CI] Add PathPrefix integration test suite (#1052) 2020-05-27 13:55:44 +02:00
suite_bypass_all.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
suite_bypass_all_test.go Be able to run scenarii in isolation for each suite. 2019-12-06 07:11:54 +01:00
suite_docker.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
suite_docker_test.go Be able to run scenarii in isolation for each suite. 2019-12-06 07:11:54 +01:00
suite_duo_push.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
suite_duo_push_test.go [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
suite_haproxy.go [MISC] Add coverage for Remote-User and Remote-Groups (#982) 2020-05-06 11:50:37 +10:00
suite_haproxy_test.go [MISC] Add coverage for Remote-User and Remote-Groups (#982) 2020-05-06 11:50:37 +10:00
suite_high_availability.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
suite_high_availability_test.go [CI] Add PathPrefix integration test suite (#1052) 2020-05-27 13:55:44 +02:00
suite_kubernetes.go [DEV] Fix permission issue with dev workflow. (#1033) 2020-05-21 14:35:22 +10:00
suite_kubernetes_test.go Encode URL set to rd parameter. (#559) 2020-01-19 01:57:42 +11:00
suite_ldap.go [FEATURE] Delay 1FA Authentication (#993) 2020-05-21 00:03:15 +02:00
suite_ldap_test.go [FEATURE][BREAKING] Allow users to sign in with email. (#792) 2020-03-31 09:36:04 +11:00
suite_mariadb.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
suite_mariadb_test.go Be able to run scenarii in isolation for each suite. 2019-12-06 07:11:54 +01:00
suite_mysql.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
suite_mysql_test.go [FEATURE] Support MySQL as a storage backend. (#678) 2020-03-05 10:25:52 +11:00
suite_network_acl.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
suite_network_acl_test.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
suite_one_factor_only.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
suite_one_factor_only_test.go [CI] Add PathPrefix integration test suite (#1052) 2020-05-27 13:55:44 +02:00
suite_pathprefix.go [CI] Add PathPrefix integration test suite (#1052) 2020-05-27 13:55:44 +02:00
suite_pathprefix_test.go [CI] Add PathPrefix integration test suite (#1052) 2020-05-27 13:55:44 +02:00
suite_postgres.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
suite_postgres_test.go Be able to run scenarii in isolation for each suite. 2019-12-06 07:11:54 +01:00
suite_short_timeouts.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
suite_short_timeouts_test.go [FIX] Fix default redirection URL not taken into account (#600) 2020-02-01 13:54:50 +01:00
suite_standalone.go [DEPRECATE] Environment Variable Secrets (#905) 2020-05-08 11:01:57 +10:00
suite_standalone_test.go [CI] Add PathPrefix integration test suite (#1052) 2020-05-27 13:55:44 +02:00
suite_traefik.go [MISC] Add coverage for Remote-User and Remote-Groups (#982) 2020-05-06 11:50:37 +10:00
suite_traefik2.go [MISC] Add coverage for Remote-User and Remote-Groups (#982) 2020-05-06 11:50:37 +10:00
suite_traefik2_test.go [MISC] Add coverage for Remote-User and Remote-Groups (#982) 2020-05-06 11:50:37 +10:00
suite_traefik_test.go [MISC] Add coverage for Remote-User and Remote-Groups (#982) 2020-05-06 11:50:37 +10:00
suites.go [CI] Add godot linter (#958) 2020-05-02 15:06:39 +10:00
utils.go [CI] Add PathPrefix integration test suite (#1052) 2020-05-27 13:55:44 +02:00
verify_body_contains.go Fix and parallelize integration tests. 2019-12-05 11:05:24 +01:00
verify_is_authenticated_page.go [FIX] Redirect to default URL after 1FA when default policy is one_factor. (#611) 2020-02-05 08:18:02 +11:00
verify_is_first_factor_page.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
verify_is_home.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
verify_is_second_factor_page.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
verify_mail.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
verify_notification.go Rewrite and fix remaining suites in Go. 2019-12-05 11:05:24 +01:00
verify_secret_authorized.go Fix and parallelize integration tests. 2019-12-05 11:05:24 +01:00
verify_url_is.go Fix HighAvailability suite randomness. 2019-12-08 16:41:28 +01:00
webdriver.go [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00

README.md

Authelia Suites

A suite is a kind of virtual environment for Authelia. Please read the related documentation here to get more details.