mirror of
				https://github.com/mendableai/firecrawl.git
				synced 2025-10-31 01:54:18 +00:00 
			
		
		
		
	 5ac6eb7440
			
		
	
	
		5ac6eb7440
		
			
		
	
	
	
	
		
			
			* fix: Quote variables in `docker-entrypoint.sh` - This commit adds double quotes around variables in the docker-entrypoint.sh script to prevent word splitting and globbing issues, ensuring the script behaves correctly in all cases. * fix: Ensure worker/api deployment starts with `OPENAI_API_KEY` * fix: Add missing `FLY_PROCESS_GROUP` env var to deployments * fix: Correct `PLAYWRIGHT_MICROSERVICE_URL` in `firecrawl-config` * fix: Update Docker build options for Apple Silicon compatibility * fix: Correct `PLAYWRIGHT_MICROSERVICE_URL` in `firecrawl-config`
Install Firecrawl on a Kubernetes Cluster (Simple Version)
Before installing
- 
Set secret.yaml and configmap.yaml and do not check in secrets - Note: If REDIS_PASSWORDis configured in the secret, please modify the ConfigMap to reflect the following format forREDIS_URLandREDIS_RATE_LIMIT_URL:
 ReplaceREDIS_URL: "redis://:password@host:port" REDIS_RATE_LIMIT_URL: "redis://:password@host:port"password,host, andportwith the appropriate values.
 
- Note: If 
- 
Build Docker images, and host it in your Docker Registry (replace the target registry with your own) - API (which is also used as a worker image)
- 
docker build --no-cache --platform linux/amd64 -t ghcr.io/winkk-dev/firecrawl:latest ../../../apps/api docker push ghcr.io/winkk-dev/firecrawl:latest
 
- 
- Playwright
- 
docker build --no-cache --platform linux/amd64 -t ghcr.io/winkk-dev/firecrawl-playwright:latest ../../../apps/playwright-service docker push ghcr.io/winkk-dev/firecrawl-playwright:latest
 
- 
 
- API (which is also used as a worker image)
- 
Replace the image in worker.yaml, api.yaml and playwright-service.yaml 
Install
kubectl apply -f configmap.yaml
kubectl apply -f secret.yaml
kubectl apply -f playwright-service.yaml
kubectl apply -f api.yaml
kubectl apply -f worker.yaml
kubectl apply -f redis.yaml
Port Forwarding for Testing
kubectl port-forward svc/api 3002:3002 -n dev
Delete Firecrawl
kubectl delete -f configmap.yaml
kubectl delete -f secret.yaml
kubectl delete -f playwright-service.yaml
kubectl delete -f api.yaml
kubectl delete -f worker.yaml
kubectl delete -f redis.yaml