Skip to content

Commit

Permalink
adapted readme to new remote config style with seperate open configs
Browse files Browse the repository at this point in the history
  • Loading branch information
daMupfel committed Feb 19, 2015
1 parent aca0029 commit c304270
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions README.md
Expand Up @@ -77,6 +77,8 @@ droned --config=/path/to/drone.toml
The configuration file is in TOML format. If installed using the `drone.deb` file
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

[server]
Expand All @@ -94,13 +96,11 @@ expires=""
driver=""
datasource=""

[registration]
open=true

[github]
client=""
secret=""
orgs=[]
open=false

[github_enterprise]
client=""
Expand All @@ -109,20 +109,24 @@ api=""
url=""
orgs=[]
private_mode=false
open=false

[bitbucket]
client=""
secret=""
open=false

[gitlab]
url=""
client=""
secret=""
skip_verify=false
open=false

[gogs]
url=""
secret=""
open=false

[smtp]
host=""
Expand Down Expand Up @@ -160,29 +164,31 @@ export DRONE_SESSION_EXPIRES=""
export DRONE_DATABASE_DRIVER=""
export DRONE_DATABASE_DATASOURCE=""

# enable users to self-register
export DRONE_REGISTRATION_OPEN=false

# github configuration
export DRONE_GITHUB_CLIENT=""
export DRONE_GITHUB_SECRET=""
export DRONE_GITHUB_OPEN=false

# github enterprise configuration
export DRONE_GITHUB_ENTERPRISE_CLIENT=""
export DRONE_GITHUB_ENTERPRISE_SECRET=""
export DRONE_GITHUB_ENTERPRISE_API=""
export DRONE_GITHUB_ENTERPRISE_URL=""
export DRONE_GITHUB_ENTERPRISE_PRIVATE_MODE=false
export DRONE_GITHUB_ENTERPRISE_OPEN=false

# bitbucket configuration
export DRONE_BITBUCKET_CLIENT=""
export DRONE_BITBUCKET_SECRET=""
export DRONE_BITBUCKET_OPEN=false


# gitlab configuration
export DRONE_GITLAB_URL=""
export DRONE_GITLAB_CLIENT=""
export DRONE_GITLAB_SECRET=""
export DRONE_GITLAB_SKIP_VERIFY=false
export DRONE_GITLAB_OPEN=false

# email configuration
export DRONE_SMTP_HOST=""
Expand Down

0 comments on commit c304270

Please sign in to comment.