ai gpu enable

This commit is contained in:
2025-05-12 10:59:20 +02:00
parent 0291dd19d3
commit 3ce78581a8

View File

@@ -169,34 +169,34 @@ services:
networks: networks:
- MIH-network - MIH-network
# === Added section for NVIDIA GPU acceleration === # === Added section for NVIDIA GPU acceleration ===
runtime: nvidia # runtime: nvidia
deploy: # deploy:
resources: # resources:
reservations: # reservations:
devices: # devices:
- driver: nvidia # - driver: nvidia
count: all # or specify a number of GPUs # count: all # or specify a number of GPUs
capabilities: [ gpu ] # capabilities: [ gpu ]
#============== Firebaase ==================================================================== #============== Firebaase ====================================================================
# firebase: # firebase:
# container_name: MIH-firebase-emulator # container_name: MIH-firebase-emulator
# build: # build:
# context: ./Firebase-emulator # context: ./Firebase-emulator
# environment: # environment:
# DATA_DIRECTORY: "firebase/data" # DATA_DIRECTORY: "firebase/data"
# FIREBASE_PROJECT: "mzansi-innovation-hub" # FIREBASE_PROJECT: "mzansi-innovation-hub"
# ports: # ports:
# - 8082:8080 # FIRESTORE_PORT # - 8082:8080 # FIRESTORE_PORT
# - 5005:5005 # FIRESTORE_WS_PORT # - 5005:5005 # FIRESTORE_WS_PORT
# - 4000:4000 # UI_PORT # - 4000:4000 # UI_PORT
# - 9099:9099 # AUTH_PORT # - 9099:9099 # AUTH_PORT
# - 5000:6001 # Hosting # - 5000:6001 # Hosting
# volumes: # volumes:
# - ./Firebase-emulator:/srv/firebase:rw # - ./Firebase-emulator:/srv/firebase:rw
# # - ./cache:/root/.cache/:rw # # - ./cache:/root/.cache/:rw
# # - ~/.config/:/root/.config # # - ~/.config/:/root/.config
# - ./Firebase-emulator/firebase/data:/srv/firebase/data:rw # - ./Firebase-emulator/firebase/data:/srv/firebase/data:rw
#============== Named Volumes ==================================================================== #============== Named Volumes ====================================================================
volumes: volumes:
certbotConf: certbotConf:
certbotChall: certbotChall: