docker + compose + redis

This commit is contained in:
Michael Yang committed 2023-10-09 16:59:22 -07:00
1 parent c564d05de5
commit 6db0ba2e0d
6 files changed
+334 -310

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
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:7-alpine
ports:
- 6379