nothiro/cereal-applicant-api
0
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 