-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from siinghd/dev
Dev
- Loading branch information
Showing
19 changed files
with
243 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
module.exports = { | ||
apps: [ | ||
{ | ||
name: 'qat_dev_backend', // Name of the TypeScript application | ||
script: './out/index.js', // Script to be executed | ||
// args: './out/index.js', // 'start' for running in production mode | ||
watch: false, // Enable watching of file changes (set to false in production) | ||
env: { | ||
NODE_ENV: 'production', // Set NODE_ENV for production | ||
PORT: 4002, // Application's port | ||
}, | ||
interpreter: '~/.bun/bin/bun', | ||
// exec_mode: 'cluster', // Enable cluster mode for load balancing | ||
// instances: 'max', // Use 'max' to utilize all available cores | ||
autorestart: true, // Automatically restart if the app crashes | ||
max_memory_restart: '4G', // Restart if memory limit is reached | ||
}, | ||
], | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
module.exports = { | ||
apps: [ | ||
{ | ||
name: 'qat_prod_backend', // Name of the TypeScript application | ||
script: 'index.ts', // Script to be executed | ||
// args: './out/index.js', // 'start' for running in production mode | ||
watch: false, // Enable watching of file changes (set to false in production) | ||
env: { | ||
NODE_ENV: 'production', // Set NODE_ENV for production | ||
PORT: 4003, // Application's port | ||
}, | ||
interpreter: '~/.bun/bin/bun', | ||
// exec_mode: 'cluster', // Enable cluster mode for load balancing | ||
// instances: 'max', // Use 'max' to utilize all available cores | ||
autorestart: true, // Automatically restart if the app crashes | ||
max_memory_restart: '4G', // Restart if memory limit is reached | ||
}, | ||
], | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.