1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2025-02-10 18:31:20 +02:00

adapted readme to new remote config style with seperate open configs

This commit is contained in:
Eichin David 2015-02-19 19:20:14 +01:00
parent aca002940d
commit c304270a7e

View File

@ -77,6 +77,8 @@ droned --config=/path/to/drone.toml
The configuration file is in TOML format. If installed using the `drone.deb` file The configuration file is in TOML format. If installed using the `drone.deb` file
will be located in `/etc/drone/drone.toml`. will be located in `/etc/drone/drone.toml`.
You can find the current config of the master branch [here](https://github.com/drone/drone/blob/master/packaging/root/etc/drone/drone.toml).
```toml ```toml
[server] [server]
@ -94,13 +96,11 @@ expires=""
driver="" driver=""
datasource="" datasource=""
[registration]
open=true
[github] [github]
client="" client=""
secret="" secret=""
orgs=[] orgs=[]
open=false
[github_enterprise] [github_enterprise]
client="" client=""
@ -109,20 +109,24 @@ api=""
url="" url=""
orgs=[] orgs=[]
private_mode=false private_mode=false
open=false
[bitbucket] [bitbucket]
client="" client=""
secret="" secret=""
open=false
[gitlab] [gitlab]
url="" url=""
client="" client=""
secret="" secret=""
skip_verify=false skip_verify=false
open=false
[gogs] [gogs]
url="" url=""
secret="" secret=""
open=false
[smtp] [smtp]
host="" host=""
@ -160,12 +164,10 @@ export DRONE_SESSION_EXPIRES=""
export DRONE_DATABASE_DRIVER="" export DRONE_DATABASE_DRIVER=""
export DRONE_DATABASE_DATASOURCE="" export DRONE_DATABASE_DATASOURCE=""
# enable users to self-register
export DRONE_REGISTRATION_OPEN=false
# github configuration # github configuration
export DRONE_GITHUB_CLIENT="" export DRONE_GITHUB_CLIENT=""
export DRONE_GITHUB_SECRET="" export DRONE_GITHUB_SECRET=""
export DRONE_GITHUB_OPEN=false
# github enterprise configuration # github enterprise configuration
export DRONE_GITHUB_ENTERPRISE_CLIENT="" export DRONE_GITHUB_ENTERPRISE_CLIENT=""
@ -173,16 +175,20 @@ export DRONE_GITHUB_ENTERPRISE_SECRET=""
export DRONE_GITHUB_ENTERPRISE_API="" export DRONE_GITHUB_ENTERPRISE_API=""
export DRONE_GITHUB_ENTERPRISE_URL="" export DRONE_GITHUB_ENTERPRISE_URL=""
export DRONE_GITHUB_ENTERPRISE_PRIVATE_MODE=false export DRONE_GITHUB_ENTERPRISE_PRIVATE_MODE=false
export DRONE_GITHUB_ENTERPRISE_OPEN=false
# bitbucket configuration # bitbucket configuration
export DRONE_BITBUCKET_CLIENT="" export DRONE_BITBUCKET_CLIENT=""
export DRONE_BITBUCKET_SECRET="" export DRONE_BITBUCKET_SECRET=""
export DRONE_BITBUCKET_OPEN=false
# gitlab configuration # gitlab configuration
export DRONE_GITLAB_URL="" export DRONE_GITLAB_URL=""
export DRONE_GITLAB_CLIENT="" export DRONE_GITLAB_CLIENT=""
export DRONE_GITLAB_SECRET="" export DRONE_GITLAB_SECRET=""
export DRONE_GITLAB_SKIP_VERIFY=false export DRONE_GITLAB_SKIP_VERIFY=false
export DRONE_GITLAB_OPEN=false
# email configuration # email configuration
export DRONE_SMTP_HOST="" export DRONE_SMTP_HOST=""