Added notes on SQLite

This commit is contained in:
Juan Font Alonso 2021-10-19 23:45:20 +02:00
parent 0318af5a33
commit 7b40e99aec

View file

@ -38,6 +38,7 @@ ephemeral_node_inactivity_timeout": "30m"
`ephemeral_node_inactivity_timeout` is the timeout after which inactive ephemeral node records will be deleted from the database. The default is 30 minutes. This value must be higher than 65 seconds (the keepalive timeout for the HTTP long poll is 60 seconds, plus a few seconds to avoid race conditions).
PostgresSQL
```yaml
db_host: localhost
db_port: 5432
@ -46,7 +47,13 @@ db_user: foo
db_pass: bar
```
The fields starting with `db_` are used for the PostgreSQL connection information.
SQLite
```yaml
db_type: sqlite3
db_path: db.sqlite
```
The fields starting with `db_` are used for the DB connection information.
### Running the service via TLS (optional)