forked from yaso_meth/mih-project
Add AI container to docker compose
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user