added and commented out code for passing through gpu

This commit is contained in:
brb
2023-07-07 09:45:45 +02:00
parent 477389d353
commit f4a81b4b9b
+8 -1
View File
@@ -10,4 +10,11 @@ services:
- LOGGER_LEVEL=debug - LOGGER_LEVEL=debug
- LISTEN_IP=0.0.0.0 - LISTEN_IP=0.0.0.0
- LISTEN_PORT=8000 - LISTEN_PORT=8000
- REPO_DIR=/home/app/repo/ - REPO_DIR=/home/app/repo/
# deploy:
# resources:
# reservations:
# devices:
# - driver: nvidia
# device_ids: ['0']
# capabilities: [gpu]