Created
September 20, 2017 00:16
-
-
Save tylerflint/a1c025232f12d39b87860cc6b3bc7cb9 to your computer and use it in GitHub Desktop.
Nanobox multi-headed nodejs app example boxfile configuration
This file contains hidden or 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
run.config: | |
engine: nodejs | |
dev_packages: | |
- forego | |
extra_packages: | |
- nginx-nchan | |
web.main: | |
cwd: app1 | |
start: npm start | |
routes: | |
- / | |
web.api: | |
cwd: app2 | |
start: npm start | |
routes: | |
- api:/ | |
web.nchan: | |
start: nginx -c /app/config/nginx.conf | |
routes: | |
- pubsub:/ | |
worker.bitrex: | |
cwd: app3 | |
start: npm start | |
data.pubsub: | |
image: nanobox/redis |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment