CoolFace
Apppublic

re-mind/Similarity_Search

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes
docker-compose.yml43 linesDownload Raw Back to root
1services:2  app:3    build:4      context: .5      dockerfile: Dockerfile6    container_name: similarity-search-app7    ports:8      - "7860:7860"9    volumes:10      - ./src:/app/src  # Mount the local src directory for hot reloading11    environment:12      - PYTHONUNBUFFERED=113    restart: unless-stopped14    healthcheck:15      test: ["CMD", "curl", "-f", "http://localhost:7860/health"]16      interval: 30s17      timeout: 10s18      retries: 319 20# Could be useful later on21#     depends_on:22#       - db  # If you have a database service, add it here23 24#   # Example database service (optional)25#   db:26#     image: postgres:latest27#     container_name: similarity-search-db28#     environment:29#       POSTGRES_USER: user30#       POSTGRES_PASSWORD: password31#       POSTGRES_DB: mydatabase32#     ports:33#       - "5432:5432"34#     volumes:35#       - postgres_data:/var/lib/postgresql/data36#     healthcheck:37#       test: ["CMD-SHELL", "pg_isready -U user -d mydatabase"]38#       interval: 5s39#       timeout: 5s40#       retries: 541 42# volumes:43#   postgres_data: