signalling server

Signed-off-by: ale <ale@manalejandro.com>
Este commit está contenido en:
ale
2025-06-15 16:32:37 +02:00
padre e8a203a71d
commit ce9e977aa8
Se han modificado 11 ficheros con 9922 adiciones y 18 borrados

23
server/ecosystem.config.js Archivo normal
Ver fichero

@@ -0,0 +1,23 @@
module.exports = {
apps: [{
name: 'chatrtc-server',
script: 'server.js',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'development',
PORT: 3000
},
env_production: {
NODE_ENV: 'production',
PORT: 3000
},
log_file: 'logs/combined.log',
out_file: 'logs/out.log',
error_file: 'logs/error.log',
log_date_format: 'YYYY-MM-DD HH:mm Z',
merge_logs: true
}]
};