authelia/docs/content/en/configuration/storage/sqlite.md

1.2 KiB

title description lead date draft images menu weight toc aliases
SQLite3 SQLite3 Configuration The SQLite3 storage provider. 2022-06-15T17:51:47+10:00 false
configuration
parent
storage
106500 true
/docs/configuration/storage/sqlite.html

If you don't have a SQL server, you can use SQLite. However please note that this setup will prevent you from running multiple instances of Authelia since the database will be a local file.

Use of this storage provider leaves Authelia stateful. It's important in highly 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 such as PostgreSQL.

Configuration

storage:
  encryption_key: a_very_important_secret
  local:
    path: /config/db.sqlite3

Options

encryption_key

See the encryption_key docs.

path

{{< confkey type="string" required="yes" >}}

The path where the SQLite3 database file will be stored. It will be created if the file does not exist.