services: agentic-rag-gym: build: context: . dockerfile: Dockerfile ports: - "7860:7860" env_file: - .env environment: - SERVER_HOST=0.0.0.0 - SERVER_PORT=7860 volumes: - faiss_data:/app/data/faiss_indices healthcheck: test: ["CMD", "curl", "-f", "http://localhost:7860/health"] interval: 30s timeout: 10s start_period: 120s retries: 3 restart: unless-stopped deploy: resources: limits: cpus: "2" memory: 8G volumes: faiss_data: