Dockerize the bashar bot

This commit is contained in:
2025-12-05 21:40:02 -05:00
parent ee89f394bd
commit 21c8c9c51d
5 changed files with 190 additions and 0 deletions

31
docker-compose.yml Normal file
View File

@@ -0,0 +1,31 @@
version: '3.8'
services:
basharbot:
build: .
container_name: basharbot
restart: unless-stopped
environment:
- DISCORD_TOKEN=MTAxNDE5NDAxNzM0NjUzMTQxOQ.GY6P0P.jnCq9V4SbeO1HmkNuzWCSM47CnrIsdko_3sCCw
- WHISPER_MODEL_SIZE=small
- LOG_LEVEL=DEBUG
- TRANSCRIPT_LOG_ENABLED=true
- HOTWORD_ENABLED=true
- GOODBOY_USER_ID=94578724413902848
- TRANSCRIPT_LOG_PATH=/app/logs/transcript.log
volumes:
- ./logs:/app/logs
- ./data:/app/data
- whisper-models:/root/.cache/huggingface
networks:
- bot-network
labels:
- "com.centurylinklabs.watchtower.enable=true"
volumes:
whisper-models:
driver: local
networks:
bot-network:
driver: bridge