32 lines
907 B
YAML
32 lines
907 B
YAML
services:
|
|
basharbot:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: basharbot
|
|
restart: unless-stopped
|
|
environment:
|
|
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:-false}
|
|
ARABIC_TTS_MODEL: ${ARABIC_TTS_MODEL:-tts_models/ar/cv/vits}
|
|
volumes:
|
|
- bot-logs:/app/logs
|
|
- bot-data:/app/data
|
|
- whisper-models:/root/.cache/huggingface
|
|
labels:
|
|
- "com.centurylinklabs.watchtower.enable=true"
|
|
|
|
volumes:
|
|
bot-logs:
|
|
driver: local
|
|
bot-data:
|
|
driver: local
|
|
whisper-models:
|
|
driver: local
|