Updatweb
This commit is contained in:
22
config/ecosystem.config.js
Normal file
22
config/ecosystem.config.js
Normal 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,
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user