For example. put a new file in your project directory: /home/ubuntu/projects/lka/.env, with content:
NODE_ENV=development
PORT=3000
ADMIN_PORT=3001
LISTENING_ADDR=0.0.0.0
MONGODB_URL=<your mongodb url>
# Log levels: error, warn, info, verbose, debug, silly
CONSOLE_LOG_LEVEL=debug
FILE_LOG_LEVEL=warn
An example of the MONGODB_URL is:
MONGODB_URL=mongodb://lkauser:[email protected]:43683/lka
NODE_ENV=production
PORT=80
ADMIN_PORT=8080
LISTENING_ADDR=0.0.0.0
MONGODB_URL=<your mongodb url>
CONSOLE_LOG_LEVEL=warn
FILE_LOG_LEVEL=warn