version: '3.8' services: ubuntu: build: context: . dockerfile: Dockerfile.3bfinetune volumes: - ./src:/root/data - /mnt/sdb/zly/datas/Datas:/mnt/sdb/zly/datas - /data:/data container_name: ubuntu pull_policy: if_not_present tty: true restart: unless-stopped image: zly/cuda:latest ports: - 8888:8888 - 3222:22 environment: - OLLAMA_ORIGINS="chrome-extension://*" deploy: resources: reservations: devices: - driver: nvidia count: 8 capabilities: [gpu] networks: - network2 networks: network2: name: network2