Created
August 13, 2019 10:39
-
-
Save q-ode/f1b4c641f387e36d594fa24200161056 to your computer and use it in GitHub Desktop.
Start a service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
export MONGODB_CONNECTION_STRING_URI=mongodb://localhost:27017 | |
export MONGODB_NAME=collection-name | |
export ELASTICSEARCH_NODES="[\"http://localhost:9200\"]" | |
export REDIS_MASTER_SERVICE_HOST=localhost | |
export REDIS_MASTER_SERVICE_PORT=6379 | |
#REDIS_MASTER_PASSWORD= | |
export NODE_ENV=production | |
npm run build | |
npm start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment