Initial Commit
This commit is contained in:
34
ecosystem.config.js
Normal file
34
ecosystem.config.js
Normal file
@@ -0,0 +1,34 @@
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: "ag-home",
|
||||
script: "server.js",
|
||||
cwd: "/usr/src/app",
|
||||
exec_mode: "fork",
|
||||
},
|
||||
{
|
||||
name: "ag-beats",
|
||||
script: "npm",
|
||||
args: "start",
|
||||
cwd: "/usr/src/app/ag-beats",
|
||||
},
|
||||
{
|
||||
name: "ag-ball",
|
||||
script: "npm",
|
||||
args: "start",
|
||||
cwd: "/usr/src/app/ball-shooting",
|
||||
},
|
||||
{
|
||||
name: "gymflow",
|
||||
script: "dist/index.js",
|
||||
cwd: "/usr/src/app/gymflow/server",
|
||||
env: {
|
||||
NODE_ENV: "production",
|
||||
APP_MODE: "prod",
|
||||
PORT: 3003,
|
||||
DATABASE_URL: "file:./prod.db",
|
||||
DATABASE_URL_PROD: "file:./prod.db"
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user