authelia/internal/suites/example/compose
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
..
authelia [FEATURE] Docker simplification and configuration generation (#1113) 2020-06-17 16:25:35 +10:00
duo-api [MISC] (deps): Bump node in /internal/suites/example/compose/duo-api (#929) 2020-04-27 12:53:16 +10:00
haproxy [MISC] Add coverage for Remote-User and Remote-Groups (#982) 2020-05-06 11:50:37 +10:00
httpbin [CI] Add PathPrefix integration test suite (#1052) 2020-05-27 13:55:44 +02:00
kind [MISC] (deps): Bump alpine in /internal/suites/example/compose/kind (#1068) 2020-06-01 10:42:07 +10:00
ldap [BUGFIX] LDAP group retrieval of users with parenthesis in their name (#713) 2020-03-16 19:55:03 +11:00
mariadb [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
mysql [FEATURE] Support MySQL as a storage backend. (#678) 2020-03-05 10:25:52 +11:00
nginx [CI] Add PathPrefix integration test suite (#1052) 2020-05-27 13:55:44 +02:00
postgres [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
redis [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
smtp [MISC] Restructure repo folder layout (#628) 2020-02-09 18:04:27 +01:00
squid [Buildkite] Introduce CI linting with golangci-lint and reviewdog (#832) 2020-04-09 11:05:17 +10:00
traefik [FEATURE] Make Authelia serve over TLS in all suites (#864) 2020-04-14 09:57:28 +10:00
traefik2 [CI] Add PathPrefix integration test suite (#1052) 2020-05-27 13:55:44 +02:00