34 lines
705 B
JavaScript
34 lines
705 B
JavaScript
module.exports = {
|
|
apps: [
|
|
{
|
|
name: "ag-home",
|
|
script: "server.js",
|
|
cwd: "/usr/src/app",
|
|
exec_mode: "fork",
|
|
},
|
|
{
|
|
name: "ag-beats",
|
|
script: "./node_modules/.bin/tsx",
|
|
args: "server/index.ts",
|
|
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"
|
|
}
|
|
}
|
|
]
|
|
}; |