services: cognio: build: . container_name: cognio ports: - "8080:8080" volumes: - ./data:/app/data env_file: - .env environment: # Override specific paths if needed - DB_PATH=/app/data/memory.db restart: unless-stopped healthcheck: test: ["CMD", "python", "-c", "import requests; requests.get('http://localhost:8080/health')"] interval: 30s timeout: 10s retries: 3 start_period: 40s