.
This commit is contained in:
		
							parent
							
								
									2832caea98
								
							
						
					
					
						commit
						40f4e6e499
					
				@ -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:
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user