college-bot-v2/docker-compose.yml
nexy7574 9b6b3e9027
All checks were successful
Build and Publish college-bot-v2 / build_and_publish (push) Successful in 14s
Fix IPC
2024-06-05 01:23:39 +01:00

44 lines
1.1 KiB
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
- ./ipc/:/tmp/ipc/
extra_hosts:
- host.docker.internal:host-gateway
depends_on:
- redis # you can remove this if you remove the ollama and starboard cogs.
jimmy-webhook-server:
container_name: jimmy-webhook-server
image: git.i-am.nexus/nex/college-bot:latest
restart: unless-stopped
volumes:
- ./ipc/:/tmp/ipc/
depends_on:
- jimmy
command: ["/app/venv/bin/uvicorn", "--host", "0.0.0.0", "--port", "1111", "server:app"]
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
command: redis-server --save 60 1 --loglevel warning
volumes:
- redis-data:/data
volumes:
ollama-data:
jimmy-data:
redis-data: