Environment variables
On this page you can see how to configure the work environment. It is very important to follow the steps as indicated.
#
MongoDBMONGO_URL
is your application's database URL.TEST_MONGO_URL
is when you run testing.
#
RedisRedis is necessary for reactive subscriptions.
REDIS_HOST
is your redis server's URL.REDIST_PORT
defines which port is redis running.REDIS_PASSWORD
fill this if you have password on your redis server.
#
General configsHTTPS
this is boolean variables, set true if you are using secure ssl.MAIN_APP_DOMAIN
this is your main application's domain where is erxes/erxes repository is running.WIDGETS_DOMAIN
your widget application's domain where is erxes/widgets repository is running.DOMAIN
this is your erxes-api application's domain where is erxes/erxes-api repository is running.NODE_ENV
set to production on live mode, set to development on development mode.PORT
this option will define which port is your application running, you can change to any port you want.