Skip to content

Commit

Permalink
Update readme with new config layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Buhrietoe committed Jan 9, 2017
1 parent 6215ac5 commit fff4664
Showing 1 changed file with 10 additions and 17 deletions.
27 changes: 10 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,20 @@ Configuration

Use the following environment variables to configure brood:

BROOD_ADDRESS=127.0.0.1 # DEFAULT: 0.0.0.0
BROOD_PORT=1234 # DEFAULT: 3456
BROOD_SERVER_ADDRESS=127.0.0.1 # DEFAULT
BROOD_SERVER_PORT=1234 # DEFAULT: 3456

Configuration can also be done in a json/yaml/toml file. If there is a problem reading the file, brood will continue with its defaults.

**YAML**

address: 127.0.0.1
port: 1234

**JSON**

{
"address": "127.0.0.1",
"port": "1234",
}
Configuration can also be done in a toml file. If there is a problem reading the file, brood will continue with its defaults.

**TOML**

address = 127.0.0.1
port = 1234
[server]
address = 127.0.0.1
port = 1234
[auth.oauth]
host = "openshift.default.svc.cluster.local"
clientId = "openshift-challenging-client"
responseType = "token"

Development
-----
Expand Down

0 comments on commit fff4664

Please sign in to comment.