mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
08e674b62f
Updated all links to use https://www.authelia.com/docs/. Removed all comment sections from documented configuration on the documentation site and replaced them with their own sections. Made all documentation inside config.template.yml double hashes, and made all commented configuration sections single quoted. Added .yamllint.yaml to express our desired YAML styles. Added a style guide. Refactored many documentation areas to be 120 char widths where possible. It's by no means exhaustive but is a large start. Added a statelessness guide for the pending Kubernetes chart introduction. Added labels to configuration documentation and made many areas uniform.
38 lines
951 B
Markdown
38 lines
951 B
Markdown
---
|
|
layout: default
|
|
title: SQLite
|
|
parent: Storage backends
|
|
grand_parent: Configuration
|
|
nav_order: 4
|
|
---
|
|
|
|
# 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.
|
|
|
|
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
|
|
requires you setup an external database.
|
|
|
|
## Configuration
|
|
|
|
```yaml
|
|
storage:
|
|
local:
|
|
path: /config/db.sqlite3
|
|
```
|
|
|
|
## Options
|
|
|
|
### path
|
|
<div markdown="1">
|
|
type: string
|
|
{: .label .label-config .label-blue }
|
|
required: yes
|
|
{: .label .label-config .label-red }
|
|
</div>
|
|
|
|
The path where the SQLite3 database file will be stored. It will be created if the file does not exist.
|