Skip to content

Commit

Permalink
feat: add-ecosystem-config
Browse files Browse the repository at this point in the history
Signed-off-by: Favour Lawrence <[email protected]>
  • Loading branch information
favxlaw authored Jul 19, 2024
1 parent b440af0 commit 216252a
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions ecosystem.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
module.exports = {
apps: [
{
name: 'run_learnai_prod',
script: '/home/vicradon/deployments/production/learnai_prod',
env: {
SERVER_PORT: 9000,
DB_NAME: 'db_name',
APP_NAME: 'production',
APP_URL: 'http://localhost:9000'
}
},
{
name: 'run_learnai_staging',
script: '/home/vicradon/deployments/staging/learnai_staging',
env: {
SERVER_PORT: 8000,
DB_NAME: 'db_name',
APP_NAME: 'staging',
APP_URL: 'http://localhost:8000'
}
},
{
name: 'run_learnai_dev',
script: '/home/vicradon/deployments/development/learnai_dev',
env: {
SERVER_PORT: 7000,
DB_NAME: 'db_name',
APP_NAME: 'development',
APP_URL: 'http://localhost:7000'
}
}
]
};

0 comments on commit 216252a

Please sign in to comment.