This commit is contained in:
Franz Rolfsvaag 2025-08-09 18:47:18 +02:00
parent 2832caea98
commit 40f4e6e499

View File

@ -2,10 +2,17 @@ version: "3.8"
services:
shaiwatcher:
# Build the image from your repo (Portainer Git deploy will use this)
build:
context: .
dockerfile: dockerfile # <- your file is named 'dockerfile'
image: shaiwatcher:local # local tag so Portainer can re-use cache
restart: unless-stopped
# Everything configurable shows up in Portainer's env UI
environment:
# --- Required ---
DISCORD_TOKEN: "PUT_YOUR_TOKEN_HERE"
# --- Required token (set in Portainer UI) ---
DISCORD_TOKEN: ${DISCORD_TOKEN}
# --- Paths ---
SHAI_DATA_FILE: /app/data/data.json
@ -34,7 +41,7 @@ services:
# --- Auto-VC ---
SHAI_TRIGGER_CHANNEL_ID: "1403139044174594190"
SHAI_AUTO_VC_CATEGORY_ID: "1403138882958266428"
SHAI_VC_NAME_PREFIX: "DD Crew " # note trailing space is preserved in quotes
SHAI_VC_NAME_PREFIX: "DD Crew " # trailing space intentional
SHAI_AUTO_VC_CLEANUP_DELAY: "30"
# --- Threat weights ---
@ -65,9 +72,5 @@ services:
volumes:
- shaiwatcher_data:/app/data # persistent data.json lives here
labels:
# optional: enable Watchtower auto-update if you use it
com.centurylinklabs.watchtower.enable: "true"
volumes:
shaiwatcher_data: