Browse Source

Flesh out config file to explain gotchas

pull/98/head
Kegan Dougal 8 years ago
parent
commit
f40803ba6b
  1. 15
      config.sample.yaml

15
config.sample.yaml

@ -38,9 +38,7 @@ clients:
realms: realms:
- ID: "github_realm" - ID: "github_realm"
Type: "github" Type: "github"
Config:
ClientSecret: "YOUR_CLIENT_SECRET"
ClientID: "YOUR_CLIENT_ID"
Config: {} # No need for client ID or Secret as Go-NEB isn't generating OAuth URLs
# The list of *authenticated* sessions which Go-NEB is aware of. # The list of *authenticated* sessions which Go-NEB is aware of.
# Delete or modify this list as appropriate. # Delete or modify this list as appropriate.
@ -72,18 +70,27 @@ services:
Config: Config:
api_key: "2356saaqfhgfe" api_key: "2356saaqfhgfe"
- ID: "rss_service"
Type: "rssbot"
UserID: "@another_goneb:localhost"
Config:
feeds:
"http://lorem-rss.herokuapp.com/feed?unit=second&interval=60":
rooms: ["!qmElAGdFYCHoCJuaNt:localhost"]
- ID: "github_cmd_service" - ID: "github_cmd_service"
Type: "github" Type: "github"
UserID: "@goneb:localhost" # requires a Syncing client UserID: "@goneb:localhost" # requires a Syncing client
Config: Config:
RealmID: "github_realm" RealmID: "github_realm"
# Make sure your BASE_URL can be accessed by Github!
- ID: "github_webhook_service" - ID: "github_webhook_service"
Type: "github-webhook" Type: "github-webhook"
UserID: "@another_goneb:localhost" UserID: "@another_goneb:localhost"
Config: Config:
RealmID: "github_realm" RealmID: "github_realm"
ClientUserID: "@YOUR_USER_ID:localhost"
ClientUserID: "@YOUR_USER_ID:localhost" # needs to be an authenticated user so Go-NEB can create webhooks.
Rooms: Rooms:
"!someroom:id": "!someroom:id":
Repos: Repos:

Loading…
Cancel
Save