CoolFace
Apppublic

nothiro/cereal-applicant-api

sourceHugging Faceupdated 7mo agoView on Hugging Face
0likes
docker-compose.yml18 linesDownload Raw Back to root
1# Local development — build and run the API container2# Usage: docker compose up --build3services:4  api:5    build:6      context: .7      dockerfile: Dockerfile8    ports:9      - "7860:7860"10    env_file:11      - .env12    healthcheck:13      test: [ "CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:7860/health')" ]14      interval: 30s15      timeout: 5s16      retries: 317      start_period: 10s18