Initial commit: Stoat Role Bot
Build and Push Image / build (push) Has been cancelled

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Dawnsorrow
2026-02-17 19:45:23 -06:00
commit 09e3b6ca66
16 changed files with 1312 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env bash
# Build Stoat Role Bot image and save to a .tar for upload to NAS.
# Run this on a machine with Docker installed (e.g. your PC).
set -e
cd "$(dirname "$0")"
echo "Building Docker image..."
docker build -t stoat-role-bot:latest .
echo "Saving image to stoat-role-bot.tar..."
docker save stoat-role-bot:latest -o stoat-role-bot.tar
echo "Done. Upload these to your NAS:"
echo " 1. stoat-role-bot.tar (the image)"
echo " 2. config/ folder with roles.json (your server ID + message ID)"
echo ""
echo "Then on the NAS: load the image and create a container with:"
echo " - Env: STOAT_BOT_TOKEN, PREFIX=!, CONFIG_PATH=/app/config"
echo " - Volume: host path with roles.json -> /app/config"