version: '3.8' services: noahski-autonomous: build: . container_name: noahski-learning ports: - "5000:5000" volumes: - ./data:/app/data - ./logs:/app/logs environment: - SERVER_HOST=0.0.0.0 - SERVER_PORT=5000 - DEBUG=false - MAX_RAM_USAGE_PERCENT=75.0 - MAX_CPU_USAGE_PERCENT=70.0 - IDLE_TIME_SECONDS=300 - MAX_KNOWLEDGE_ENTRIES=10000 restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:5000/health"] interval: 30s timeout: 10s retries: 3 start_period: 40s deploy: resources: limits: cpus: '2.0' memory: 4G reservations: cpus: '0.5' memory: 1G volumes: data: logs: