Version 1.0.0
Language EN

DRONE_DATABASE_DATASOURCE

String literal value provides the database connection string. The default value is the path of the embedded sqlite database file.

DRONE_DATABASE_DATASOURCE=/data/database.sqlite

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

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

Getting Help

Mailing List
Search for information in the mailing list archives, or post a question.
Chat Support
Real-time chat support from maintainers and community members.