const DOMAIN_NAME = 'localhost' const SERVER_PORT = process.env.PORT || 3000 module.exports = { domain: DOMAIN_NAME, app: { title: 'Enterprise Search', description: 'Enterprise Search', keywords: 'Enterprise Search, Independent' }, port: SERVER_PORT, logging: { . . . }, esui: { baseUrl: `http://${DOMAIN_NAME}:4200` }, security: { . . . }, mailer: { . . .}, analytics: { enable: true }, chat_forum: { enable: false, history_size: 100 }, // ElasticSearch connection for permissions, and other features elastic: { schema: 'http', host: 'localhost', port: 9200, indexName: 'esui' } }