Initial Beetlejuice Discord bot

This commit is contained in:
MrDevBot
2026-09-01 17:51:15 +10:00
commit 76d2c8e6a0
8 changed files with 238 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
services:
beetlejuice:
image: ${BEETLEJUICE_IMAGE:?}
restart: unless-stopped
environment:
DISCORD_TOKEN: ${DISCORD_TOKEN:?}
DISCORD_GUILD_ID: ${DISCORD_GUILD_ID:-572498926788280340}
DISCORD_ALLOWED_ROLE_IDS: ${DISCORD_ALLOWED_ROLE_IDS:-}
RCON_HOST: ${RCON_HOST:-zomboid}
RCON_PORT: ${RCON_PORT:-27015}
RCON_PASSWORD: ${RCON_PASSWORD:?}
MANUAL_RESTART_COOLDOWN_SECONDS: ${MANUAL_RESTART_COOLDOWN_SECONDS:-600}
AUTO_RESTART_INTERVAL_HOURS: ${AUTO_RESTART_INTERVAL_HOURS:-6}
AUTO_RESTART_TIMEZONE: ${AUTO_RESTART_TIMEZONE:-Australia/Brisbane}
AUTO_RESTART_WARNING_SECONDS: ${AUTO_RESTART_WARNING_SECONDS:-600,300,60}
RESTART_READY_TIMEOUT_SECONDS: ${RESTART_READY_TIMEOUT_SECONDS:-900}
networks: [zomboid-control]
read_only: true
tmpfs: [/tmp]
cap_drop: [ALL]
security_opt: [no-new-privileges:true]
mem_limit: 128m
networks:
zomboid-control:
external: true
name: zomboid-control