File size: 563 Bytes
f6e1721
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# filepath: /home/obn7/NovBase/docker-compose.yml

version: '3.8'

services:
  vtx_node:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: VTX_CORE_PRIMARY
    ports:
      - "8080:8080"
      - "7860:7860" # Порт визуального узла
    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: 1
              capabilities: [gpu]
    environment:
      - NVIDIA_VISIBLE_DEVICES=all
      - NVIDIA_DRIVER_CAPABILITIES=compute,utility
    restart: unless-stopped