mirror of
https://github.com/donpat1to/Schichtenplaner.git
synced 2025-12-01 06:55:45 +01:00
renamen module exports
This commit is contained in:
30
ecosystem.config.js
Normal file
30
ecosystem.config.js
Normal file
@@ -0,0 +1,30 @@
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: 'backend',
|
||||
script: './dist/server.js',
|
||||
instances: 1,
|
||||
exec_mode: 'fork',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
PORT: 3002
|
||||
},
|
||||
error_file: './logs/backend-err.log',
|
||||
out_file: './logs/backend-out.log',
|
||||
time: true
|
||||
},
|
||||
{
|
||||
name: 'frontend',
|
||||
script: 'npx',
|
||||
args: 'serve -s frontend-build -l 3000',
|
||||
instances: 1,
|
||||
exec_mode: 'fork',
|
||||
env: {
|
||||
NODE_ENV: 'production'
|
||||
},
|
||||
error_file: './logs/frontend-err.log',
|
||||
out_file: './logs/frontend-out.log',
|
||||
time: true
|
||||
}
|
||||
]
|
||||
};
|
||||
Reference in New Issue
Block a user