mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-04-29 06:54:43 +00:00
31 lines
544 B
Bash
31 lines
544 B
Bash
#!/bin/bash
|
|
|
|
# server configuration
|
|
|
|
SERVER_ADDR=":80"
|
|
#SERVER_CERT=""
|
|
#SERVER_KEY=""
|
|
|
|
# database configuration
|
|
|
|
DATABASE_DRIVER="sqlite3"
|
|
DATABASE_CONFIG="/var/lib/drone/drone.sqlite"
|
|
|
|
# remote configuration
|
|
|
|
CLIENT="" # oauth2 client. REQUIRED
|
|
SECRET="" # oauth2 secret. REQUIRED
|
|
|
|
REMOTE_DRIVER="github"
|
|
REMOTE_CONFIG="https://github.com?client_id=$CLIENT&client_secret=$SECRET"
|
|
|
|
# docker configuration
|
|
|
|
DOCKER_HOST="unix:///var/run/docker.sock"
|
|
#DOCKER_CERT=""
|
|
#DOCKER_KEY=""
|
|
#DOCKER_CA=""
|
|
|
|
# plugin configuration
|
|
|
|
PLUGIN_FILTER="plugins/*"
|