Files

18 lines
556 B
JavaScript

/*
These are the environment settings for the PRODUCTION environment.
This is the environment run with `npm start` if KOA_ENV=production.
This is the environment run inside the Docker container.
It is assumed the MonogDB Docker container is accessed by port 5555
so as not to conflict with the default host port of 27017 for MongoDB.
*/
export default {
session: 'secret-boilerplate-token',
token: 'secret-jwt-token',
database: process.env.DBURL
? process.env.DBURL
: 'mongodb://172.17.0.1:5557/bch-service-prod',
env: 'prod'
}