authelia/internal
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
..
authentication [FEATURE] Docker simplification and configuration generation (#1113) 2020-06-17 16:25:35 +10:00
authorization [CI] Add gocritic linter (#977) 2020-05-06 10:52:06 +10:00
commands [FIX] Hash Password Cmd Not Encoding Provided Salt (#999) 2020-05-14 15:55:03 +10:00
configuration [FEATURE] Docker simplification and configuration generation (#1113) 2020-06-17 16:25:35 +10:00
duo [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
handlers [MISC] Fix unit tests for Go 1.14+ (#1075) 2020-06-02 19:09:13 +10:00
logging [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
middlewares [BUGFIX] Add path to generated links for emails (#1045) 2020-05-24 09:51:34 +10:00
mocks [SECURITY] Fix Authentication HTTP Status Codes (#959) 2020-05-06 07:27:38 +10:00
models [MISC] Implement golint recommendations (#885) 2020-04-20 23:03:38 +02:00
notification [CI] Add gocritic linter (#977) 2020-05-06 10:52:06 +10:00
regulation [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
server [CI] Add PathPrefix integration test suite (#1052) 2020-05-27 13:55:44 +02:00
session [MISC] Fix linting error introduced in #1001 (#1028) 2020-05-19 07:50:50 +10:00
storage [CI] Add wsl linter (#980) 2020-05-05 21:35:32 +02:00
suites [FEATURE] Docker simplification and configuration generation (#1113) 2020-06-17 16:25:35 +10:00
templates Force TLS and valid x509 certs in SMTP Notifier by default 2020-01-10 17:37:16 +01:00
utils [FEATURE] Allow Authelia to listen on a specified path (#1027) 2020-05-21 12:20:55 +10:00