README: Add details about other DBs, migrations

This commit is contained in:
Valentin Tolmer 2023-03-27 14:07:28 +02:00 committed by nitnelave
parent 2c8fe2a481
commit 585b65e11d
2 changed files with 12 additions and 3 deletions

View File

@ -77,6 +77,9 @@ For more features (OAuth/OpenID support, reverse proxy, ...) you can install
other components (KeyCloak, Authelia, ...) using this server as the source of other components (KeyCloak, Authelia, ...) using this server as the source of
truth for users, via LDAP. truth for users, via LDAP.
By default, the data is stored in SQLite, but you can swap the backend with
MySQL/MariaDB or PostgreSQL.
## Installation ## Installation
### With Docker ### With Docker
@ -276,6 +279,12 @@ folder for help with:
- [XBackBone](example_configs/xbackbone_config.php) - [XBackBone](example_configs/xbackbone_config.php)
- [Zendto](example_configs/zendto.md) - [Zendto](example_configs/zendto.md)
## Migrating from SQLite
If you started with an SQLite database and would like to migrate to
MySQL/MariaDB or PostgreSQL, check out the [./docs/database_migration.md](DB
migration docs).
## Comparisons with other services ## Comparisons with other services
### vs OpenLDAP ### vs OpenLDAP

View File

@ -26,9 +26,9 @@ Frontend:
Data storage: Data storage:
* The data (users, groups, memberships, active JWTs, ...) is stored in SQL. * The data (users, groups, memberships, active JWTs, ...) is stored in SQL.
* Currently only SQLite is supported (see * The main SQL DBs are supported: SQLite by default, MySQL, MariaDB, PostgreSQL
https://github.com/launchbadge/sqlx/issues/1225 for what blocks us from (see [./database_migration.md](DB Migration) for how to migrate off of
supporting more SQL backends). SQLite).
### Code organization ### Code organization