mirror of https://gitgud.io/fatchan/jschan.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
784 B
40 lines
784 B
module.exports = {
|
|
|
|
//mongodb connection string
|
|
dbURL: 'mongodb://jschan:CHANGE-ME-YOUR-SECURE-MONGODB-PASSWORD@localhost:27017/jschan',
|
|
|
|
//database name
|
|
dbName: 'jschan',
|
|
|
|
//redis connection info
|
|
redis: {
|
|
host: '127.0.0.1',
|
|
port: '6379',
|
|
password: 'CHANGE-ME-YOUR-SECURE-REDIS-PASSWORD'
|
|
},
|
|
|
|
//backend webserver port
|
|
port: 7000,
|
|
|
|
//secrets/salts for various things
|
|
cookieSecret: 'changeme',
|
|
tripcodeSecret: 'changeme',
|
|
ipHashSecret: 'changeme',
|
|
postPasswordSecret: 'changeme',
|
|
|
|
//keys for google recaptcha
|
|
google: {
|
|
siteKey: 'changeme',
|
|
secretKey: 'changeme'
|
|
},
|
|
|
|
//keys for hcaptcha
|
|
hcaptcha: {
|
|
siteKey: '10000000-ffff-ffff-ffff-000000000001',
|
|
secretKey: '0x0000000000000000000000000000000000000000'
|
|
},
|
|
|
|
//enable debug logging
|
|
debugLogs: true,
|
|
|
|
};
|
|
|