22 lines
581 B
JavaScript
22 lines
581 B
JavaScript
module.exports = {
|
|
apps: [
|
|
{
|
|
name: 'unloze-playtime-display',
|
|
cwd: __dirname,
|
|
script: 'npm',
|
|
args: 'start',
|
|
env: {
|
|
NODE_ENV: 'production',
|
|
PORT: 3547,
|
|
// No TZ var needed here — all DB datetime handling goes through
|
|
// lib/timezone.ts, which uses explicit Intl-based conversion
|
|
// hardcoded to Europe/Berlin (matching MySQL's configured
|
|
// timezone), independent of the Node process's own environment.
|
|
},
|
|
autorestart: true,
|
|
max_restarts: 10,
|
|
watch: false,
|
|
},
|
|
],
|
|
};
|