20 lines
460 B
JavaScript
20 lines
460 B
JavaScript
module.exports = {
|
|
apps: [{
|
|
name: 'stock-agent',
|
|
script: 'backend/app/main.py',
|
|
interpreter: 'python3',
|
|
cwd: '/Users/aaron/source_code/Stock_Agent',
|
|
env: {
|
|
ENV_FILE: '/Users/aaron/source_code/Stock_Agent/.env'
|
|
},
|
|
instances: 1,
|
|
autorestart: true,
|
|
watch: false,
|
|
max_memory_restart: '1G',
|
|
error_file: './logs/err.log',
|
|
out_file: './logs/out.log',
|
|
log_file: './logs/combined.log',
|
|
time: true
|
|
}]
|
|
};
|