I've tried many configurations, but I'm completely stuck how to set those params in config.js
There are 2 paths for config
countly-server/frontend/express/config.js
with this
var countlyConfig = {
mongodb: {
host: "localhost",
db: "countly",
port: 27017,
},
web: {
port: 6001,
host: "localhost",
use_intercom: true
}
};
and countly-server/api/config.js
var countlyConfig = {
mongodb: {
host: "localhost",
db: "countly",
port: 27017,
max_pool_size: 1000
},
api: {
workers: 0,
port: 3001,
host: "localhost",
safe: false,
session_duration_limit: 120,
max_sockets: 1024,
city_data: true
},
apps: {
country: "TR",
timezone: "Europe/Istanbul",
category: "6"
}
};
How to set username & password for them?
I've tried
username:
password:
and username:password@localhost options, but they weren't working for me.