Add AI container to docker compose

This commit is contained in:
2025-01-22 11:22:35 +02:00
parent 298fb57d59
commit 7d854e1aff

View File

@@ -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