CoolFace
Apppublic

sithara0310/esp32

sourceHugging Faceupdated 10mo agoView on Hugging Face
0likes
docker-compose.yml50 linesDownload Raw Back to root
1version: '3.8'2 3services:4  voice-ai-assistant:5    build: .6    ports:7      - "7860:7860"8    environment:9      - PORT=786010      - FLASK_ENV=production11      - HF_TOKEN=${HF_TOKEN}12      - PYTHONUNBUFFERED=113    volumes:14      - ./cache:/tmp/huggingface_cache15    healthcheck:16      test: ["CMD", "curl", "-f", "http://localhost:7860/health"]17      interval: 30s18      timeout: 10s19      retries: 320      start_period: 2m21    restart: unless-stopped22    deploy:23      resources:24        limits:25          memory: 2G26          cpus: '1.0'27        reservations:28          memory: 1G29          cpus: '0.5'30    logging:31      driver: "json-file"32      options:33        max-size: "10m"34        max-file: "3"35 36  nginx:37    image: nginx:alpine38    ports:39      - "80:80"40      - "443:443"41    volumes:42      - ./nginx.conf:/etc/nginx/nginx.conf43      - ./ssl:/etc/nginx/ssl 44    depends_on:45      - voice-ai-assistant46    restart: unless-stopped47 48volumes:49  cache:50    driver: local