2020-02-29 07:43:59 +07:00
|
|
|
---
|
|
|
|
layout: default
|
|
|
|
title: SQLite
|
|
|
|
parent: Storage backends
|
|
|
|
grand_parent: Configuration
|
2020-03-05 06:25:52 +07:00
|
|
|
nav_order: 4
|
2020-02-29 07:43:59 +07:00
|
|
|
---
|
|
|
|
|
|
|
|
# SQLite
|
|
|
|
|
|
|
|
If you don't have a SQL server, you can use [SQLite](https://en.wikipedia.org/wiki/SQLite).
|
|
|
|
However please note that this setup will prevent you from running multiple
|
|
|
|
instances of Authelia since the database will be a local file.
|
|
|
|
|
2020-02-29 12:15:03 +07:00
|
|
|
## Configuration
|
2020-02-29 07:43:59 +07:00
|
|
|
|
|
|
|
Just give the path to the sqlite database. It will be created if the file does not exist.
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
storage:
|
2020-04-11 11:46:07 +07:00
|
|
|
local:
|
|
|
|
path: /var/lib/authelia/db.sqlite3
|
2020-02-29 07:43:59 +07:00
|
|
|
```
|