mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-29 18:33:05 +00:00
Added notes on SQLite
This commit is contained in:
parent
0318af5a33
commit
7b40e99aec
1 changed files with 8 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue