mirror of
https://github.com/senju1337/senju.git
synced 2025-12-23 23:39:27 +00:00
fix: containerized senju did not start properly
Refs: OPS-10
This commit is contained in:
parent
83add1d0a3
commit
7d41df6976
3 changed files with 11 additions and 10 deletions
|
|
@ -6,17 +6,18 @@ services:
|
|||
ports:
|
||||
- "127.0.0.1:5000:5000"
|
||||
volumes:
|
||||
- ./senju:/app
|
||||
- ./senju:/app/senju
|
||||
depends_on:
|
||||
- ollama
|
||||
|
||||
|
||||
ollama:
|
||||
image: docker.io/ollama/ollama
|
||||
image: docker.io/ollama/ollama
|
||||
volumes:
|
||||
- ./ollama:/root/.ollama
|
||||
- ollama:/root/.ollama
|
||||
container_name: ollama
|
||||
environment:
|
||||
- OLLAMA_KEEP_ALIVE=24h
|
||||
- OLLAMA_HOST=0.0.0.0
|
||||
|
||||
|
||||
volumes:
|
||||
ollama:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue