Persist redis data (Needed for modern jimmy versions)
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 6s
All checks were successful
Build and Publish Jimmy.2 / build_and_publish (push) Successful in 6s
This commit is contained in:
parent
d27dabbc36
commit
d610b8ba78
1 changed files with 7 additions and 1 deletions
|
@ -5,12 +5,14 @@ services:
|
|||
restart: unless-stopped
|
||||
tty: true
|
||||
volumes:
|
||||
- ./config.toml:/app/config.toml
|
||||
- ./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
|
||||
|
@ -21,7 +23,11 @@ services:
|
|||
- ollama-data:/root/.ollama
|
||||
redis:
|
||||
image: redis
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- redis-data:/data
|
||||
|
||||
volumes:
|
||||
ollama-data:
|
||||
jimmy-data:
|
||||
redis-data:
|
||||
|
|
Loading…
Reference in a new issue