2024-01-06 20:33:13 +00:00
|
|
|
services:
|
|
|
|
jimmy:
|
|
|
|
container_name: jimmy-v2
|
2024-06-09 02:09:39 +01:00
|
|
|
image: ghcr.io/nexy7574/college-bot:latest # alternatively: 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:
|
2024-05-06 02:23:04 +01:00
|
|
|
- ./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-07-01 18:50:22 +01:00
|
|
|
- /etc/localtime:/etc/localtime:ro
|
|
|
|
- /etc/timezone:/etc/timezone:ro
|
|
|
|
- /usr/bin/nmap:/usr/bin/nmap:ro
|
|
|
|
- /usr/bin/ffmpeg:/usr/bin/ffmpeg:ro
|
|
|
|
- /usr/bin/ffprobe:/usr/bin/ffprobe:ro
|
2024-01-12 16:47:45 +00:00
|
|
|
extra_hosts:
|
|
|
|
- host.docker.internal:host-gateway
|
2024-05-06 02:23:04 +01:00
|
|
|
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
|
2024-06-09 02:09:39 +01:00
|
|
|
image: ghcr.io/nexy7574/college-bot:latest # alternatively: git.i-am.nexus/nex/college-bot:latest
|
2024-06-05 01:12:18 +01:00
|
|
|
restart: unless-stopped
|
|
|
|
depends_on:
|
2024-06-05 01:53:07 +01:00
|
|
|
- redis
|
|
|
|
environment:
|
|
|
|
- REDIS=redis://redis:6379
|
|
|
|
ports:
|
|
|
|
- 1111:1111
|
|
|
|
command: ["/app/venv/bin/python", "/app/server.py"]
|
2024-01-06 21:43:52 +00:00
|
|
|
ollama:
|
|
|
|
image: ollama/ollama:latest
|
2024-01-09 09:34:55 +00:00
|
|
|
container_name: ollama
|
2024-01-06 21:43:52 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- 11434:11434
|
|
|
|
volumes:
|
|
|
|
- ollama-data:/root/.ollama
|
2024-01-12 16:47:45 +00:00
|
|
|
redis:
|
2024-06-09 02:09:39 +01:00
|
|
|
image: redis:latest
|
2024-05-06 02:23:04 +01:00
|
|
|
restart: unless-stopped
|
2024-06-04 02:11:51 +01:00
|
|
|
command: redis-server --save 60 1 --loglevel warning
|
2024-05-06 02:23:04 +01:00
|
|
|
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:
|
2024-05-06 02:23:04 +01:00
|
|
|
redis-data:
|