mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-11-02 13:14:42 +00:00
787 B
787 B
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:
DATABASE_DRIVER=sqlite3
DATABASE_CONFIG=/var/lib/drone/drone.sqlite
Sqlite3 configuration
The following is the standard URI connection scheme:
file:path[?options]
The components of the datasource connection string are:
file:URI prefix to identify database files.pathlocal path to the database file. The default value is/var/lib/drone/drone.sqlite.?optionsconnection specific options. not recommended
Sqlite3 options
See the official driver documentation for a full list of driver options.