2014-10-11 21:57:14 +00:00
|
|
|
|
|
|
|
[server]
|
|
|
|
port=":80"
|
|
|
|
|
|
|
|
#####################################################################
|
2014-10-12 03:33:06 +00:00
|
|
|
# SSL configuration
|
2014-10-11 21:57:14 +00:00
|
|
|
#
|
|
|
|
# [server.ssl]
|
|
|
|
# key=""
|
|
|
|
# cert=""
|
|
|
|
|
2014-10-12 03:33:06 +00:00
|
|
|
# [session]
|
|
|
|
# secret=""
|
2014-11-24 03:41:12 +00:00
|
|
|
# expires=""
|
2014-10-11 21:57:14 +00:00
|
|
|
|
|
|
|
#####################################################################
|
2014-10-12 03:33:06 +00:00
|
|
|
# Database configuration, by default using SQLite3.
|
2014-10-11 21:57:14 +00:00
|
|
|
# You can also use postgres and mysql. See the documentation
|
|
|
|
# for more details.
|
|
|
|
|
|
|
|
[database]
|
|
|
|
driver="sqlite3"
|
2014-10-11 23:34:53 +00:00
|
|
|
datasource="/var/lib/drone/drone.sqlite"
|
2014-10-11 21:57:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
# Open Registration allows users to self-register for Drone.
|
|
|
|
# This is recommended if Drone is being hosted behind a
|
|
|
|
# firewall.
|
|
|
|
#
|
|
|
|
# When false, the system admin will need to manually add
|
|
|
|
# users to Drone through the admin screens.
|
|
|
|
#
|
|
|
|
# [registration]
|
|
|
|
# open=true
|
|
|
|
|
|
|
|
# [github]
|
|
|
|
# client=""
|
|
|
|
# secret=""
|
|
|
|
|
|
|
|
# [github_enterprise]
|
|
|
|
# client=""
|
|
|
|
# secret=""
|
|
|
|
# api=""
|
|
|
|
# url=""
|
|
|
|
# private_mode=false
|
|
|
|
|
|
|
|
# [bitbucket]
|
|
|
|
# client=""
|
|
|
|
# secret=""
|
|
|
|
|
|
|
|
# [gitlab]
|
|
|
|
# url=""
|
|
|
|
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
# SMTP configuration for Drone. This is required if you plan
|
|
|
|
# to send email notifications for build statuses.
|
|
|
|
#
|
|
|
|
# [smtp]
|
|
|
|
# host=""
|
|
|
|
# port=""
|
|
|
|
# from=""
|
|
|
|
# user=""
|
|
|
|
# pass=""
|
|
|
|
|
|
|
|
# [worker]
|
2014-10-23 06:23:05 +00:00
|
|
|
# cert=""
|
|
|
|
# key=""
|
2014-10-11 21:57:14 +00:00
|
|
|
# nodes=[
|
|
|
|
# "unix:///var/run/docker.sock",
|
|
|
|
# "unix:///var/run/docker.sock"
|
2014-11-24 03:41:12 +00:00
|
|
|
# ]
|