UNPKG

strider

Version:

Brilliant continuous deployment platform

30 lines (23 loc) 503 B
run.config: engine: nodejs engine.config: runtime: nodejs-4.4 cache_dirs: - node_modules - dist # add nginx package extra_packages: - nginx extra_steps: - npm run build # add a mongo database data.mongodb: image: nanobox/mongodb:3.0 # add a web component and give it a "start" command web.main: start: nginx: nginx -c /app/config/nginx.conf node: npm start # add a worker component and give it a "start" command # worker.main: # start: node worker.js