college-bot-v2/docker-compose.yml

45 lines
1.1 KiB
YAML
Raw Normal View History

2024-01-06 20:33:13 +00:00
services:
jimmy:
container_name: jimmy-v2
2024-04-25 19:33:34 +01:00
image: git.i-am.nexus/nex/college-bot:latest
2024-01-06 20:33:13 +00:00
restart: unless-stopped
2024-01-09 00:36:18 +00:00
tty: true
2024-01-06 20:33:13 +00:00
volumes:
- ./config.toml:/app/config.toml:ro
2024-01-06 20:33:13 +00:00
- ./jimmy.log:/app/jimmy.log
- /dev/dri:/dev/dri
2024-01-09 09:34:55 +00:00
- jimmy-data:/app/data
2024-06-05 01:23:39 +01:00
- ./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.
2024-06-05 01:12:18 +01:00
jimmy-webhook-server:
container_name: jimmy-webhook-server
image: git.i-am.nexus/nex/college-bot:latest
restart: unless-stopped
volumes:
2024-06-05 01:23:39 +01:00
- ./ipc/:/tmp/ipc/
2024-06-05 01:12:18 +01:00
depends_on:
- jimmy
2024-06-05 01:23:39 +01:00
command: ["/app/venv/bin/uvicorn", "--host", "0.0.0.0", "--port", "1111", "server:app"]
ollama:
image: ollama/ollama:latest
2024-01-09 09:34:55 +00:00
container_name: ollama
restart: unless-stopped
ports:
- 11434:11434
volumes:
- ollama-data:/root/.ollama
redis:
image: redis
restart: unless-stopped
2024-06-04 02:11:51 +01:00
command: redis-server --save 60 1 --loglevel warning
volumes:
- redis-data:/data
2024-01-06 21:44:49 +00:00
volumes:
ollama-data:
2024-01-09 09:34:55 +00:00
jimmy-data:
redis-data: