mirror of
https://github.com/Permissionless-Software-Foundation/bch-dex.git
synced 2026-09-21 16:52:00 -07:00
19 lines
619 B
JavaScript
19 lines
619 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: 'mongodb://172.17.0.1:5555/ipfs-service-prod',
|
|
database: process.env.DBURL
|
|
? process.env.DBURL
|
|
: 'mongodb://172.17.0.1:5555/ipfs-service-prod',
|
|
env: 'prod'
|
|
}
|