discollama/compose.yaml

21 lines
395 B
YAML

version: '3'
services:
discollama:
build:
context: .
dockerfile: Dockerfile
restart: always
command: ['--redis-host', 'redis']
environment:
- DISCORD_TOKEN
- OLLAMA_HOST=host.docker.internal
- OLLAMA_PORT=11434
- OLLAMA_MODEL=discollama
redis:
image: redis/redis-stack-server:latest
volumes:
- /data
ports:
- 6379