discollama/compose.yaml

22 lines
399 B
YAML
Raw Normal View History

2023-10-09 16:59:22 -07:00
version: '3'
services:
discollama:
build:
context: .
dockerfile: Dockerfile
restart: always
command: ['--redis-host', 'redis']
environment:
- DISCORD_TOKEN
2023-10-31 15:51:42 -07:00
- OLLAMA_HOST
2023-10-09 16:59:22 -07:00
- OLLAMA_PORT=11434
2023-10-31 15:51:42 -07:00
- OLLAMA_MODEL=mike/discollama
2023-10-09 16:59:22 -07:00
redis:
2023-10-14 13:25:31 -07:00
image: redis/redis-stack-server:latest
2023-10-27 12:40:28 -07:00
restart: always
2023-10-14 13:25:31 -07:00
volumes:
- /data
2023-10-09 16:59:22 -07:00
ports:
- 6379