This commit is contained in:
Local Server
2025-12-19 20:44:46 -06:00
parent 701f799cde
commit e4b3de4a46
113 changed files with 16673 additions and 2174 deletions

View File

@@ -0,0 +1,22 @@
module.exports = {
apps: [
{
name: "skyartshop",
script: "server.js",
cwd: "/media/pts/Website/SkyArtShop/backend",
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: "500M",
// Environment variables are loaded from .env file via dotenv
// Do not hardcode sensitive information here
env_file: "/media/pts/Website/SkyArtShop/.env",
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,
},
],
};