From 40f4e6e4999e99254cbdd19e08bf45ce47a53b46 Mon Sep 17 00:00:00 2001 From: Franz Rolfsvaag Date: Sat, 9 Aug 2025 18:47:18 +0200 Subject: [PATCH] . --- docker-compose.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 956b22b..6a4f192 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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 --- @@ -63,11 +70,7 @@ services: SHAI_EMOJI_CARRIER_CRAWLER_ID: "1402285453037666386" 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" + - shaiwatcher_data:/app/data # persistent data.json lives here volumes: shaiwatcher_data: