Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 84216a6

Browse files
committed
Configuration documentation
1 parent 2c8516e commit 84216a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configuration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@ The following config parameters are supported, they are defined in `src/config.j
88
| PORT | the port the application will listen on | 80 |
99
| API_VERSION | the API version | v1 |
1010
| LOG_LEVEL | the log level | info |
11-
| MONGODB_URI | the MongoDB URI | mongodb://localhost:27017/topcoderx |
1211
| SESSION_SECRET | the session secret | kjsdfkj34857 |
1312
| GITHUB_CLIENT_ID | the GitHub client id | No default - needs to be set up using the instructions below |
1413
| GITHUB_CLIENT_SECRET | the GitHub client secret | No default - needs to be set up using the instructions below |
1514
| GITLAB_CLIENT_ID | the GitLab client id | No default - needs to be set up using the instructions below |
1615
| GITLAB_CLIENT_SECRET | the GitLab client secret | No default - needs to be set up using the instructions below |
1716
| WEBSITE | used as base to construct various URLs | http://topcoderx.topcoder-dev.com/ |
1817
| GITLAB_API_BASE_URL | The Gitlab API base URL | https://gitlab.com|
19-
|TOPIC | kafka topic| |
18+
| MONGODB_URI | The MongoDB URI. This needs to be the same MongoDB used by topcoder-x-receiver, topcoder-x-processor, and topcoder-x-site | mongodb://127.0.0.1:27017/topcoderx |
19+
|TOPIC | The Kafka topic where events are published. This must be the same as the configured value for topcoder-x-processor| |
2020
|KAFKA_OPTIONS | Kafka connection options| |
2121
|KAFKA_HOST | The Kafka host to connect to| localhost:9092 |
2222
|KAFKA_CLIENT_CERT | The Kafka SSL certificate to use when connecting| Read from kafka_client.cer file, but this can be set as a string like it is on Heroku |

0 commit comments

Comments
 (0)