2015-07-07 04:13:50 +00:00
# SQLite
2015-07-10 08:33:31 +00:00
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
```
2015-08-04 05:46:58 +00:00
DATABASE_DRIVER="sqlite3"
DATABASE_DATASOURCE="/var/lib/drone/drone.sqlite"
2015-07-07 04:13:50 +00:00
```
2015-07-10 08:33:31 +00:00
## Sqlite3 connection
2015-08-04 05:46:58 +00:00
The components of the datasource connection string are:
2015-07-07 04:13:50 +00:00
2015-07-10 08:33:31 +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:
2015-07-10 08:33:31 +00:00
```
/var/lib/drone/drone.sqlite
2015-07-07 04:13:50 +00:00
```