-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Rename explorer01 container to explorer-api01 - Remove 'forever' dependency - Change supervisord config to setup db before start the API
- Loading branch information
1 parent
a773095
commit 437ed1f
Showing
6 changed files
with
30 additions
and
31 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
File renamed without changes.
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 @@ | ||
[supervisord] | ||
nodaemon=true | ||
|
||
[program:init] | ||
command=/bin/bash -c "supervisorctl start setup && supervisorctl start blocks && supervisorctl start api" | ||
autostart=true | ||
|
||
[program:setup] | ||
command=node /rsk-explorer-api/dist/services/blocks/setup.js | ||
autostart=false | ||
autorestart=false | ||
|
||
[program:blocks] | ||
command=node /rsk-explorer-api/dist/services/blocks | ||
autostart=false | ||
autorestart=true | ||
|
||
[program:api] | ||
command=node /rsk-explorer-api/dist/api | ||
autostart=false | ||
autorestart=true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.