Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Nanobox multi-headed nodejs app example boxfile configuration
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