woodpecker/doc/setup/sqlite.md

21 lines
520 B
Markdown
Raw Normal View History

2015-07-07 04:13:50 +00:00
# SQLite
Drone uses SQLite as the default database with zero configuration required. In order to customize the SQLite database configuration you should specify the following environment variables:
2015-07-07 04:13:50 +00:00
```
DATASTORE_DRIVER="sqlite3"
DATASTORE_CONFIG="/var/lib/drone/drone.sqlite"
2015-07-07 04:13:50 +00:00
```
## Sqlite3 connection
The components of this connection string are:
2015-07-07 04:13:50 +00:00
* `path` local path to sqlite database. The default value is `/var/lib/drone/drone.sqlite`.
2015-07-07 04:13:50 +00:00
This is an example connection string:
```
/var/lib/drone/drone.sqlite
2015-07-07 04:13:50 +00:00
```