Merge pull request #164 from yaso-meth/QOL--Docker-Compose-Update
ai gpu enable
This commit is contained in:
@@ -97,7 +97,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- MIH-network
|
- MIH-network
|
||||||
profiles: [ 'prod' ]
|
profiles: [ 'prod' ]
|
||||||
#============== Flutter App ====================================================================
|
#============== MIH-UX Flutter ====================================================================
|
||||||
user-interface:
|
user-interface:
|
||||||
container_name: MIH-UX
|
container_name: MIH-UX
|
||||||
build:
|
build:
|
||||||
@@ -108,7 +108,7 @@ services:
|
|||||||
- MIH-network
|
- MIH-network
|
||||||
depends_on:
|
depends_on:
|
||||||
- api
|
- api
|
||||||
#============== Cert Not ====================================================================
|
#============== Cert Bot ====================================================================
|
||||||
certbot:
|
certbot:
|
||||||
image: certbot/certbot
|
image: certbot/certbot
|
||||||
container_name: certbot
|
container_name: certbot
|
||||||
@@ -116,7 +116,7 @@ services:
|
|||||||
- certbotConf:/etc/letsencrypt
|
- certbotConf:/etc/letsencrypt
|
||||||
- certbotChall:/var/www/certbot
|
- certbotChall:/var/www/certbot
|
||||||
#command: certonly --test-cert --webroot -w /var/www/certbot --force-renewal --email yasienmeth@gmail.com -d mzansi-innovation-hub.co.za -d www.mzansi-innovation-hub.co.za --agree-tos
|
#command: certonly --test-cert --webroot -w /var/www/certbot --force-renewal --email yasienmeth@gmail.com -d mzansi-innovation-hub.co.za -d www.mzansi-innovation-hub.co.za --agree-tos
|
||||||
command: certonly --webroot -w /var/www/certbot --force-renewal --email yasienmeth@gmail.com -d app.mzansi-innovation-hub.co.za -d api.mzansi-innovation-hub.co.za -d minio.mzansi-innovation-hub.co.za -d monitor.mzansi-innovation-hub.co.za -d ai.mzansi-innovation-hub.co.za --agree-tos
|
command: certonly --webroot -w /var/www/certbot --force-renewal --email ${CERTBOT_EMAIL} -d ${CERTBOT_APP_DOMAIN} -d ${CERTBOT_API_DOMAIN} -d ${CERTBOT_STORAGE_DOMAIN} -d ${CERTBOT_MONITOR_DOMAIN} -d ${CERTBOT_AI_DOMAIN} --agree-tos
|
||||||
networks:
|
networks:
|
||||||
- MIH-network
|
- MIH-network
|
||||||
depends_on:
|
depends_on:
|
||||||
@@ -138,7 +138,7 @@ services:
|
|||||||
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PW}
|
MINIO_ROOT_PASSWORD: ${MINIO_ROOT_PW}
|
||||||
networks:
|
networks:
|
||||||
- MIH-network
|
- MIH-network
|
||||||
#============== Minio File Storage ====================================================================
|
#============== MIH-Monitor Portainer ====================================================================
|
||||||
portainer:
|
portainer:
|
||||||
container_name: MIH-Monitor
|
container_name: MIH-Monitor
|
||||||
image: portainer/portainer-ce:2.20.3
|
image: portainer/portainer-ce:2.20.3
|
||||||
@@ -150,7 +150,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
networks:
|
networks:
|
||||||
- MIH-network
|
- MIH-network
|
||||||
#============== Minio File Storage ====================================================================
|
#============== MIH-AI Ollama ====================================================================
|
||||||
ollama:
|
ollama:
|
||||||
container_name: MIH-AI
|
container_name: MIH-AI
|
||||||
image: ollama/ollama:latest
|
image: ollama/ollama:latest
|
||||||
@@ -168,6 +168,15 @@ services:
|
|||||||
- OLLAMA_HOST=0.0.0.0
|
- OLLAMA_HOST=0.0.0.0
|
||||||
networks:
|
networks:
|
||||||
- MIH-network
|
- MIH-network
|
||||||
|
# === Added section for NVIDIA GPU acceleration ===
|
||||||
|
# runtime: nvidia
|
||||||
|
# deploy:
|
||||||
|
# resources:
|
||||||
|
# reservations:
|
||||||
|
# devices:
|
||||||
|
# - driver: nvidia
|
||||||
|
# count: all # or specify a number of GPUs
|
||||||
|
# capabilities: [ gpu ]
|
||||||
#============== Firebaase ====================================================================
|
#============== Firebaase ====================================================================
|
||||||
# firebase:
|
# firebase:
|
||||||
# container_name: MIH-firebase-emulator
|
# container_name: MIH-firebase-emulator
|
||||||
|
|||||||
Reference in New Issue
Block a user