Skip to content

Instantly share code, notes, and snippets.

@ck196
Created June 1, 2018 08:56
Show Gist options
  • Save ck196/8300500bc208ca502bd9f0a3be1b5095 to your computer and use it in GitHub Desktop.
Save ck196/8300500bc208ca502bd9f0a3be1b5095 to your computer and use it in GitHub Desktop.
nvidia-docker-compose.yml
version: '2.0'
services:
kirin-yolo-filter:
image: kirin-yolo-filter:latest
build:
context: .
dockerfile: Dockerfile
volumes:
- nvidia_driver_384.111:/usr/local/nvidia:ro
devices:
- /dev/nvidia0:/dev/nvidia0
- /dev/nvidiactl:/dev/nvidiactl
- /dev/nvidia-uvm:/dev/nvidia-uvm
ports:
- 8989:8989
command: bash -c "python3 -u app.py --port=8989"
networks:
- mlflow
networks:
mlflow:
external: true
volumes:
nvidia_driver_384.111:
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment