Add complete Jaryo File Manager with Synology NAS deployment support

This commit is contained in:
2025-08-21 11:22:54 +09:00
parent 122d0e2582
commit a8a31b696a
39 changed files with 9026 additions and 1678 deletions

25
pm2-ecosystem.config.js Normal file
View File

@@ -0,0 +1,25 @@
module.exports = {
apps: [{
name: 'jaryo-file-manager',
script: 'server.js',
cwd: '/volume1/web/jaryo',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'production',
PORT: 3005
},
env_production: {
NODE_ENV: 'production',
PORT: 3005
},
log_file: '/volume1/web/jaryo/logs/combined.log',
out_file: '/volume1/web/jaryo/logs/out.log',
error_file: '/volume1/web/jaryo/logs/error.log',
log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
merge_logs: true,
time: true
}]
};