You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This process handles processing that should be accessable by all programs, the launch of staffportal, the communication between staffportal nodes, and your database connection.
core: {
// Database configuration
rethink: {
// The rethinkdb nodes to connect to. An array if you're using multiple nodes, if you're using only one node an object.
nodes:
{
host: 'localhost',
port: 28015
}
,
// Database to use
db: 'StaffPortal',
// User authentication
user: 'admin',
password: '',
// Connection pool
pool: true,
buffer: 50,
max: 100
},
// The address StaffPortal should bind the socket for internal communication to.
// THIS IS NOT THE HTTP/HTTPS ADDRESS USED FOR THE WEB INTERFACE.
address: "tcp://172.0.0.1:1916",
// Internal communication secret. If not set, all incoming messages to zmq will be allowed.
secret: ""
},
// StaffPortal's connector process, BOT
// BOT handles all connections to third-party API's such as Discord.