2021-04-09 08:39:53 -07:00
/*
This file is used to store unsecure, application-specific data common to all
environments.
*/
2021-04-09 12:23:34 -07:00
/* eslint no-unneeded-ternary:0 */
2021-04-09 08:39:53 -07:00
module . exports = {
2021-04-09 12:23:34 -07:00
// Configure TCP port.
2021-04-09 08:39:53 -07:00
port : process . env . PORT || 5001 ,
2021-04-09 12:23:34 -07:00
// Password for HTML UI that displays logs.
2021-04-09 08:39:53 -07:00
logPass : 'test' ,
2021-04-09 12:23:34 -07:00
// Email server settings if nodemailer email notifications are used.
2021-04-09 08:39:53 -07:00
emailServer : process . env . EMAILSERVER ? process . env . EMAILSERVER : 'mail.someserver.com' ,
emailUser : process . env . EMAILUSER ? process . env . EMAILUSER : 'noreply@someserver.com' ,
2021-04-09 12:23:34 -07:00
emailPassword : process . env . EMAILPASS ? process . env . EMAILPASS : 'emailpassword' ,
// IPFS settings.
2021-04-15 10:11:09 -07:00
isCircuitRelay : process . env . ENABLE_CIRCUIT_RELAY ? true : false ,
// Information passed to other IPFS peers about this node.
apiInfo : 'https://ipfs-service-provider.fullstack.cash/' ,
// JSON-LD and Schema.org schema with info about this app.
announceJsonLd : {
'@context' : 'https://schema.org/' ,
'@type' : 'WebAPI' ,
name : 'ipfs-service-provider' ,
description : 'This is a generic IPFS Serivice Provider that uses JSON RPC over IPFS to communicate with it. This instance has not been customized. Source code: https://github.com/Permissionless-Software-Foundation/ipfs-service-provider' ,
documentation : 'https://ipfs-service-provider.fullstack.cash/' ,
provider : {
'@type' : 'Organization' ,
name : 'Permissionless Software Foundation' ,
url : 'https://PSFoundation.cash'
}
}
2021-04-09 08:39:53 -07:00
}