2021-01-02 21:00:38 +01:00
|
|
|
# Drone configuration file. See https://docs.drone.io/server/reference/ for a
|
|
|
|
# complete list of configuration options.
|
|
|
|
|
|
|
|
# Required string value provides your Gitea oauth Client ID.
|
|
|
|
DRONE_GITEA_CLIENT_ID="gitea-client-id"
|
|
|
|
# Required string value provides your Gitea oauth Client Secret.
|
|
|
|
DRONE_GITEA_CLIENT_SECRET="gitea-client-secret"
|
|
|
|
# Required string value provides your Gitea server address. For example
|
|
|
|
# https://gitea.company.com
|
|
|
|
DRONE_GITEA_SERVER="https://gitea.example.com/"
|
|
|
|
|
|
|
|
# Required string value provides the shared secret generated in the previous
|
|
|
|
# step. This is used to authenticate the rpc connection between the server and
|
|
|
|
# runners. The server and runner must be provided the same secret value.
|
|
|
|
DRONE_RPC_SECRET="rpc-secret"
|
|
|
|
|
|
|
|
# Required string value provides your external hostname or IP address. If using
|
|
|
|
# an IP address you may include the port. For example drone.company.com.
|
|
|
|
DRONE_SERVER_HOST="drone.example.com"
|
|
|
|
# Required string value provides your external protocol scheme. This value
|
|
|
|
# should be set to http or https. This field defaults to https if you configure
|
|
|
|
# ssl or acme.
|
|
|
|
DRONE_SERVER_PROTO="https"
|
2021-01-03 00:44:53 +01:00
|
|
|
# The port (and optional host) to listen on. Defaults to :8080.
|
|
|
|
DRONE_SERVER_PORT="localhost:8080"
|
2021-01-02 21:00:38 +01:00
|
|
|
|
|
|
|
# Database settings. If commented, use SQLite by default.
|
|
|
|
#DRONE_DATABASE_DRIVER="mysql"
|
|
|
|
#DRONE_DATABASE_DATASOURCE="db-user:db-password@unix(/run/mysqld/mysqld.sock)/db-name?parseTime=true"
|
|
|
|
|
|
|
|
# Optional boolean value configures Drone to authenticate when cloning public
|
|
|
|
# repositories.
|
|
|
|
# DRONE_GIT_ALWAYS_AUTH=true
|