Files
SkyArtShop/config/ecosystem.config.js

23 lines
664 B
JavaScript
Raw Permalink Normal View History

2025-12-14 17:42:13 -06:00
module.exports = {
apps: [
{
name: "skyartshop",
script: "server.js",
cwd: "/media/pts/Website/SkyArtShop/backend",
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: "500M",
2025-12-19 20:44:46 -06:00
// Environment variables are loaded from .env file via dotenv
// Do not hardcode sensitive information here
env_file: "/media/pts/Website/SkyArtShop/.env",
2025-12-14 17:42:13 -06:00
error_file: "/var/log/skyartshop/pm2-error.log",
out_file: "/var/log/skyartshop/pm2-output.log",
log_date_format: "YYYY-MM-DD HH:mm:ss Z",
merge_logs: true,
kill_timeout: 5000,
listen_timeout: 10000,
},
],
};