35 lines
857 B
YAML
35 lines
857 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
|
|
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
|
|
|
|
networks:
|
|
bot-network:
|
|
driver: bridge
|