version: '3.8' services: retina_ai_service: build: context: . dockerfile: Dockerfile container_name: retina_ai_app ports: - "8000:8000" restart: always environment: - PYTHONUNBUFFERED=1 healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8000/api/info"] interval: 30s timeout: 10s retries: 3