This repository has been archived by the owner on Aug 12, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/with-contenv sh | ||
|
||
export HOME=/home/app | ||
export HTTP_PORT=8081 | ||
export WS_PORT=8082 | ||
export WS_SHELL_PORT=8083 | ||
export UNMS_RABBITMQ_HOST=localhost | ||
export UNMS_RABBITMQ_PORT=5672 | ||
export UNMS_REDISDB_HOST=localhost | ||
export UNMS_REDISDB_PORT=6379 | ||
export UNMS_PG_HOST=localhost | ||
export UNMS_PG_PORT=5432 | ||
export UNMS_FLUENTD_HOST=localhost | ||
export UNMS_FLUENTD_PORT=8081 | ||
export UNMS_NGINX_HOST=localhost | ||
export UNMS_NGINX_PORT=12345 | ||
export NODE_ENV=production | ||
|
||
echo "Starting unms-netflow..." | ||
|
||
s6-setuidgid root node /home/app/netflow/index.js |