version: '3.8' services: mem0-api: build: . container_name: mem0-api-server network_mode: host environment: - API_HOST=0.0.0.0 - API_PORT=8080 - API_KEYS=mem0_dev_key_123456789,mem0_docker_key_987654321 - ADMIN_API_KEYS=mem0_admin_key_111222333 - RATE_LIMIT_REQUESTS=100 - RATE_LIMIT_WINDOW_MINUTES=1 restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/health"] interval: 30s timeout: 10s retries: 3 volumes: - ./logs:/app/logs:rw