This repository was archived by the owner on Mar 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,10 @@ module.exports = {
18
18
PARTITION : process . env . PARTITION || 0 ,
19
19
KAFKA_OPTIONS : {
20
20
kafkaHost : process . env . KAFKA_HOST || 'localhost:9092' ,
21
+ sslOptions : {
22
+ cert : process . env . KAFKA_CLIENT_CERT || fs . readFileSync ( './kafka_client.cer' ) ,
23
+ key : process . env . KAFKA_CLIENT_CERT_KEY || fs . readFileSync ( './kafka_client.key' )
24
+ }
21
25
} ,
22
26
MONGODB_URL : process . env . MONGODB_URI || 'mongodb://127.0.0.1:27017/topcoder-x-events' ,
23
27
TC_DEV_ENV : process . env . NODE_ENV === 'production' ? false : true ,
@@ -62,8 +66,8 @@ module.exports = {
62
66
// NOTE: if subTrack is FIRST_2_FINISH,
63
67
// this config has no effect since the ***EndsAt will be set automatically by TC APIs
64
68
NEW_CHALLENGE_DURATION_IN_DAYS : process . env . NEW_CHALLENGE_DURATION_IN_DAYS || 5 ,
65
- GITHUB_ADMIN_TOKEN : '95a5bfd207dafbd44428fa5cc006d51890073d7c ',
66
- GITLAB_ADMIN_TOKEN :'gj8QFR8z8FubeHK8sMx1 ',
69
+ GITHUB_ADMIN_TOKEN : process . env . GITHUB_ADMIN_TOKEN || ' ',
70
+ GITLAB_ADMIN_TOKEN :process . env . GITHUB_ADMIN_TOKEN || ' ',
67
71
// node mailer option
68
72
NODE_MAILER_OPTIONS : {
69
73
host : process . env . SMTP_HOST || process . env . MAILGUN_SMTP_SERVER || 'smtp.gmail.com' ,
You can’t perform that action at this time.
0 commit comments