CoolFace
Modelpublic

DeepXR/Helion-OSC

sourceHugging Faceapache-2.0updated 10mo agoView on Hugging Face
4likes65downloads
docker-compose.yml59 linesDownload Raw Back to root
1version: '3.8'2 3services:4  helion-osc-api:5    build:6      context: .7      dockerfile: Dockerfile8    container_name: helion-osc-api9    restart: unless-stopped10    ports:11      - "8000:8000"12    volumes:13      - ./models:/app/models14      - ./cache:/app/cache15      - ./outputs:/app/outputs16    environment:17      - CUDA_VISIBLE_DEVICES=018      - HF_HOME=/app/cache19      - TRANSFORMERS_CACHE=/app/cache20    deploy:21      resources:22        reservations:23          devices:24            - driver: nvidia25              count: 126              capabilities: [gpu]27    healthcheck:28      test: ["CMD", "curl", "-f", "http://localhost:8000/health"]29      interval: 30s30      timeout: 10s31      retries: 332      start_period: 60s33    networks:34      - helion-network35 36  # Optional: Nginx reverse proxy37  nginx:38    image: nginx:alpine39    container_name: helion-nginx40    restart: unless-stopped41    ports:42      - "80:80"43      - "443:443"44    volumes:45      - ./nginx.conf:/etc/nginx/nginx.conf:ro46      - ./ssl:/etc/nginx/ssl:ro47    depends_on:48      - helion-osc-api49    networks:50      - helion-network51 52networks:53  helion-network:54    driver: bridge55 56volumes:57  models:58  cache:59  outputs: