mirror of
https://github.com/senju1337/senju.git
synced 2025-12-23 23:39:27 +00:00
feat: Create ollama container and pull initial image.
Refs: OPS-17, OPS-12, OPS,10
This commit is contained in:
parent
c2d6cd822a
commit
c72ee2617e
4 changed files with 27 additions and 6 deletions
|
|
@ -1,10 +1,22 @@
|
|||
services:
|
||||
senju:
|
||||
build:
|
||||
build: .
|
||||
context: .
|
||||
target: dev
|
||||
ports:
|
||||
- "127.0.0.1:5000:5000"
|
||||
volumes:
|
||||
- .:/app
|
||||
depends_on:
|
||||
- ollama
|
||||
|
||||
ollama:
|
||||
image: docker.io/ollama/ollama
|
||||
volumes:
|
||||
- ./ollama:/root/.ollama
|
||||
container_name: ollama
|
||||
environment:
|
||||
- OLLAMA_KEEP_ALIVE=24h
|
||||
- OLLAMA_HOST=0.0.0.0
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue