The project you'll check out as you learn to develop modern websites in Learn JS The Hard Way.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

45 lines
889 B

module.exports = {
apps: [
{
name: 'qserver',
script: './services/qserver.js',
instances: 1,
autorestart: true,
watch: ["lib", "services", "queues"],
max_memory_restart: '1G',
env: {
NODE_ENV: 'development'
},
env_production: {
NODE_ENV: 'production'
}
},
{
name: 'api',
script: './services/api.js',
instances: 1,
autorestart: true,
watch: ["lib", "api", "client", "scripts", "services"],
max_memory_restart: '1G',
env: {
NODE_ENV: 'development'
},
env_production: {
NODE_ENV: 'production'
}
},
{
name: 'redis',
script: '/usr/local/bin/redis-server --dir /tmp',
instances: 1,
autorestart: false,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'development'
},
env_production: {
NODE_ENV: 'production'
}
},
]}