node.js - Running a homebrew web app moderately reliably -
i've written application in node.js, , want deploy linode (or somewhere, maybe nodejitsu?). it's pretty simple app, couchdb server , view rendering , caching logic.
properties i'd app environment:
- one-button restart or redeploy.
- if app crashes, environment should try restarting (and emailing me) few times before giving up.
- secure(-ish). maybe chroot jail?
- replicable. i'd able run same (or similar) environment on local machine, or on new server, easily.
what do?
see answer here node.js production deployment
i have had luck running on smartos joyent. run fleet hub , drones service manifests. can use fleet on local machine deploy new code , spawn processes automatically restart on crashes
Comments
Post a Comment