mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
docs: add sql supported version info (#3334)
This commit is contained in:
parent
7ee8a82510
commit
0f9c79e80a
|
@ -10,6 +10,20 @@ nav_order: 1
|
||||||
|
|
||||||
The MySQL storage provider also serves as a MariaDB provider.
|
The MySQL storage provider also serves as a MariaDB provider.
|
||||||
|
|
||||||
|
## Version support
|
||||||
|
|
||||||
|
We recommend using the latest version of MariaDB that is officially supported by the MariaDB developers. We also suggest
|
||||||
|
checking out [PostgreSQL](postgres.md) as an alternative.
|
||||||
|
|
||||||
|
The oldest version of MariaDB that has been tested is 10.6. If using 10.6 you may be required to adjust the
|
||||||
|
`explicit_defaults_for_timestamp` setting. This will be evident when the container starts with an error similar to
|
||||||
|
`Error 1067: Invalid default value for 'exp'`. You can adjust this setting in the mysql.cnf file like so:
|
||||||
|
|
||||||
|
```cnf
|
||||||
|
[mysqld]
|
||||||
|
explicit_defaults_for_timestamp = 1
|
||||||
|
```
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
|
@ -10,6 +10,20 @@ nav_order: 2
|
||||||
|
|
||||||
The MySQL storage provider.
|
The MySQL storage provider.
|
||||||
|
|
||||||
|
## Version support
|
||||||
|
|
||||||
|
We recommend using the latest version of MySQL that is officially supported by the MySQL developers. We also suggest
|
||||||
|
checking out [PostgreSQL](postgres.md) as an alternative.
|
||||||
|
|
||||||
|
The oldest version of MySQL that has been tested is 5.7. If using 5.7 you may be required to adjust the
|
||||||
|
`explicit_defaults_for_timestamp` setting. This will be evident when the container starts with an error similar to
|
||||||
|
`Error 1067: Invalid default value for 'exp'`. You can adjust this setting in the mysql.cnf file like so:
|
||||||
|
|
||||||
|
```cnf
|
||||||
|
[mysqld]
|
||||||
|
explicit_defaults_for_timestamp = 1
|
||||||
|
```
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
|
@ -10,6 +10,19 @@ nav_order: 3
|
||||||
|
|
||||||
The PostgreSQL storage provider.
|
The PostgreSQL storage provider.
|
||||||
|
|
||||||
|
## Version support
|
||||||
|
|
||||||
|
See [PostgreSQL support](https://www.postgresql.org/support/versioning/) for the versions supported by PostgreSQL. We
|
||||||
|
recommend the _current minor_ version of one of the versions supported by PostgreSQL.
|
||||||
|
|
||||||
|
The versions of PostgreSQL that should be supported by Authelia are:
|
||||||
|
- 14
|
||||||
|
- 13
|
||||||
|
- 12
|
||||||
|
- 11
|
||||||
|
- 10
|
||||||
|
- 9.6
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
|
|
@ -14,7 +14,7 @@ instances of Authelia since the database will be a local file.
|
||||||
|
|
||||||
Use of this storage provider leaves Authelia [stateful](../../features/statelessness.md). It's important in highly
|
Use of this storage provider leaves Authelia [stateful](../../features/statelessness.md). It's important in highly
|
||||||
available scenarios to use one of the other providers, and we highly recommend it in production environments, but this
|
available scenarios to use one of the other providers, and we highly recommend it in production environments, but this
|
||||||
requires you setup an external database.
|
requires you setup an external database such as [PostgreSQL](postgres.md).
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,8 @@ grand_parent: Deployment
|
||||||
nav_order: 1
|
nav_order: 1
|
||||||
---
|
---
|
||||||
|
|
||||||
|
# Caddy
|
||||||
|
|
||||||
[Caddy] is a reverse proxy supported by **Authelia**.
|
[Caddy] is a reverse proxy supported by **Authelia**.
|
||||||
|
|
||||||
_**Important:** Caddy officially supports the forward auth flow in version 2.5.1 and greater. You must be using this
|
_**Important:** Caddy officially supports the forward auth flow in version 2.5.1 and greater. You must be using this
|
||||||
|
|
Loading…
Reference in New Issue
Block a user