File size: 548 Bytes
fa626df
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
version: "3.8"

services:
  fungiclef:
    image: fungiclef-example:latest
    build: .
    container_name: fungiclef-example
    volumes:
    - /media/Data-10T-1/Data/DF21_300:/Data
    # settings related to nvcr.io/nvidia/pytorch:22.12-py3 docker image
    ipc: "host"
    ulimits:
      memlock: -1
      stack: 67108864
    deploy:
      resources:
        limits:
          cpus: "4.0"
          memory: "12g"
        reservations:
          devices:
            - capabilities: [ "gpu" ]
              driver: nvidia
              count: all