Commit 91c7f560 authored by Your Name's avatar Your Name

add smi docker compose

parent 0f50226e
version: "3.9"
services:
monitor.multi:
image: docker.ai.17xuexi.com/monitorapi/monitor-smi:latest
ports:
- 9093:9090
- 7000:5000
volumes:
- /proc:/host/proc:ro
- /sys:/host/sys:ro
- /:/rootfs:ro
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: all
capabilities: [ gpu ]
restart: unless-stopped
FROM ubuntu
COPY gpuhw-smi /usr/bin/
ENTRYPOINT ["/usr/bin/gpuhw-smi"]
File added
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment