Skip to content

Commit

Permalink
feat: pm2 config file
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiramitzu committed Nov 13, 2024
1 parent 5564f8f commit 06ab28e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ecosystem.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module.exports = {
apps: [
{
name: "discord-chat-mirror",
script: "dist/index.js",
env: {
DISCORD_TOKEN: "DISCORD_TOKEN",
CHANNELS_ID: "channelId1, channelId2, channelId3",
WEBHOOKS_URL: "https://discord.com/api/webhooks/WEBHOOK_ID/WEBHOOK_TOKEN",
ENABLE_BOT_INDICATOR: "yes",
USE_WEBHOOK_PROFILE: "no",
DEBUG_MODE: "no",
}
}
]
};

0 comments on commit 06ab28e

Please sign in to comment.