A hosting platform for node.js application.
- Support all node.js applications.
- Support multi-instance for each application.
- Support sandbox, stand-alone instance to isolate each application.
- Auto-restart application when it crashes.
- Support virtual host
Download AppHouse from repository:
git clone https://email@example.com/cfsghost/AppHouse.git
Install dependencies with NPM utility:
Start AppHouse as root:
sudo node apphouse.js
Note: AppHouse needs root permission to make safety sandbox with chroot
There is no need modifying your application for AppHouse, just put your application on specific folder:
Create a directory for new application:
Put your application in the new place (using
expressto generate application for example):
cd apps/myapp npm install express jade express
Note: AppHouse will run
app.jsin application folder.
You can modify
Here is options:
domains: set domains for application. (An application can have multiple domain)
domains: [ "test1.example.com", "test2.example.com" ]
instances: set number of instances for application. (Default: 1)
AppHouse doesn't have tools to manage applications and service, but we've created a new project to do this job:
Licensed under the GPL-2.0
Copyright(c) 2012 Fred Chien <firstname.lastname@example.org>
Copyright(c) 2012 Mandice Company. (http://www.mandice.com/)