Dockerize the bashar bot
This commit is contained in:
31
docker-compose.yml
Normal file
31
docker-compose.yml
Normal 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
|
||||
Reference in New Issue
Block a user