DRONE_DATABASE_DATASOURCE
A string value, provides the database connection string. The default value is the path of the embedded sqlite database file.
DRONE_DATABASE_DATASOURCE=/data/database.sqlite
MySQL
Example mysql connection string (below). See the official driver documentation for more connection string details.
DRONE_DATABASE_DATASOURCE=root:password@tcp(1.2.3.4:3306)/drone?parseTime=true
Postgres
Example postgres connection string (below). See the official driver documentation for more connection string details.
DRONE_DATABASE_DATASOURCE=postgres://root:password@1.2.3.4:5432/postgres?sslmode=disable