Files
BasharBotV2/docker-compose.yml
2025-12-05 23:27:43 -05:00

35 lines
938 B
YAML

services:
basharbot:
build:
context: .
container_name: basharbot
restart: unless-stopped
network_mode: host
environment:
DOCKER_BUILDKIT: 0
DISCORD_TOKEN: ${DISCORD_TOKEN}
WHISPER_MODEL_SIZE: ${WHISPER_MODEL_SIZE:-small}
LOG_LEVEL: ${LOG_LEVEL:-INFO}
TRANSCRIPT_LOG_ENABLED: ${TRANSCRIPT_LOG_ENABLED:-true}
HOTWORD_ENABLED: ${HOTWORD_ENABLED:-true}
GOODBOY_USER_ID: ${GOODBOY_USER_ID:-94578724413902848}
TRANSCRIPT_LOG_PATH: /app/logs/transcript.log
USE_ARABIC_TTS: ${USE_ARABIC_TTS:-true}
ARABIC_TTS_MODEL: ${ARABIC_TTS_MODEL:-tts_models/ar/cv/vits}
volumes:
- ./logs:/app/logs
- bot-data:/app/data
- whisper-models:/root/.cache/huggingface
labels:
- "com.centurylinklabs.watchtower.enable=true"
volumes:
bot-data:
driver: local
whisper-models:
driver: local
networks:
bot-network:
driver: bridge