2021-07-13 12:34:51 -07:00
|
|
|
/*
|
|
|
|
|
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.
|
|
|
|
|
*/
|
|
|
|
|
|
2022-09-08 08:58:39 -07:00
|
|
|
export default {
|
2021-07-13 12:34:51 -07:00
|
|
|
session: 'secret-boilerplate-token',
|
|
|
|
|
token: 'secret-jwt-token',
|
2021-07-17 11:16:57 -07:00
|
|
|
database: process.env.DBURL
|
|
|
|
|
? process.env.DBURL
|
2021-07-17 11:24:00 -07:00
|
|
|
: 'mongodb://172.17.0.1:5555/bch-service-prod',
|
2021-07-13 12:34:51 -07:00
|
|
|
env: 'prod'
|
|
|
|
|
}
|