version: '3.8' services: ubuntu-finetune: build: context: . dockerfile: Dockerfile volumes: - ./src:/bbtft container_name: ubuntu-finetune pull_policy: if_not_present tty: true restart: unless-stopped image: hotwa/finetune:test shm_size: '32gb' ports: - 3227:22 environment: - NVIDIA_VISIBLE_DEVICES=all - NVIDIA_DRIVER_CAPABILITIES=compute,utility networks: - network_finetune deploy: resources: reservations: devices: - driver: nvidia count: all capabilities: [gpu] networks: network_finetune: name: network_finetune