college-bot-v2/docker-compose.yml
nex d610b8ba78
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 6s
Persist redis data (Needed for modern jimmy versions)
2024-05-06 02:23:04 +01:00

33 lines
761 B
YAML

services:
jimmy:
container_name: jimmy-v2
image: git.i-am.nexus/nex/college-bot:latest
restart: unless-stopped
tty: true
volumes:
- ./config.toml:/app/config.toml:ro
- ./jimmy.log:/app/jimmy.log
- /dev/dri:/dev/dri
- jimmy-data:/app/data
extra_hosts:
- host.docker.internal:host-gateway
depends_on:
- redis # you can remove this if you remove the ollama and starboard cogs.
ollama:
image: ollama/ollama:latest
container_name: ollama
restart: unless-stopped
ports:
- 11434:11434
volumes:
- ollama-data:/root/.ollama
redis:
image: redis
restart: unless-stopped
volumes:
- redis-data:/data
volumes:
ollama-data:
jimmy-data:
redis-data: