Add AI container to docker compose
This commit is contained in:
parent
298fb57d59
commit
7d854e1aff
1 changed files with 17 additions and 0 deletions
|
|
@ -147,6 +147,23 @@ services:
|
|||
restart: unless-stopped
|
||||
networks:
|
||||
- MIH-network
|
||||
#============== Minio File Storage ====================================================================
|
||||
ollama:
|
||||
container_name: MIH-AI
|
||||
image: ollama/ollama:latest
|
||||
ports:
|
||||
- 11434:11434
|
||||
volumes:
|
||||
# - ./Mzansi_AI:/code
|
||||
- ./Mzansi_AI/ollama/ollama:/root/.ollama
|
||||
pull_policy: always
|
||||
tty: true
|
||||
restart: always
|
||||
environment:
|
||||
- OLLAMA_KEEP_ALIVE=24h
|
||||
- OLLAMA_HOST=0.0.0.0
|
||||
networks:
|
||||
- MIH-network
|
||||
#============== Firebaase ====================================================================
|
||||
# firebase:
|
||||
# container_name: MIH-firebase-emulator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue