.
This commit is contained in:
		
							parent
							
								
									2832caea98
								
							
						
					
					
						commit
						40f4e6e499
					
				@ -2,10 +2,17 @@ version: "3.8"
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
services:
 | 
					services:
 | 
				
			||||||
  shaiwatcher:
 | 
					  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
 | 
					    restart: unless-stopped
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    # Everything configurable shows up in Portainer's env UI
 | 
				
			||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
      # --- Required ---
 | 
					      # --- Required token (set in Portainer UI) ---
 | 
				
			||||||
      DISCORD_TOKEN: "PUT_YOUR_TOKEN_HERE"
 | 
					      DISCORD_TOKEN: ${DISCORD_TOKEN}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # --- Paths ---
 | 
					      # --- Paths ---
 | 
				
			||||||
      SHAI_DATA_FILE: /app/data/data.json
 | 
					      SHAI_DATA_FILE: /app/data/data.json
 | 
				
			||||||
@ -34,7 +41,7 @@ services:
 | 
				
			|||||||
      # --- Auto-VC ---
 | 
					      # --- Auto-VC ---
 | 
				
			||||||
      SHAI_TRIGGER_CHANNEL_ID: "1403139044174594190"
 | 
					      SHAI_TRIGGER_CHANNEL_ID: "1403139044174594190"
 | 
				
			||||||
      SHAI_AUTO_VC_CATEGORY_ID: "1403138882958266428"
 | 
					      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"
 | 
					      SHAI_AUTO_VC_CLEANUP_DELAY: "30"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      # --- Threat weights ---
 | 
					      # --- Threat weights ---
 | 
				
			||||||
@ -65,9 +72,5 @@ services:
 | 
				
			|||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
      - shaiwatcher_data:/app/data    # persistent data.json lives here
 | 
					      - 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:
 | 
					volumes:
 | 
				
			||||||
  shaiwatcher_data:
 | 
					  shaiwatcher_data:
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user