Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
Update Kubernetes configs for playwright-service, api, and worker
Jakob Stadlhuber497aa5d25ef0
diff --git a/examples/kubernetes/cluster-install/README.md b/examples/kubernetes/cluster-install/README.mdindex f874d8293..2ae39893f 100644--- a/examples/kubernetes/cluster-install/README.md+++ b/examples/kubernetes/cluster-install/README.md@@ -4,12 +4,12 @@2. Build Docker images, and host it in your Docker Registry (replace the target registry with your own)1. API (which is also used as a worker image)1. ```bash- docker build -t ghcr.io/winkk-dev/firecrawl:latest ../../apps/api+ docker build --no-cache -t ghcr.io/winkk-dev/firecrawl:latest ../../apps/apidocker push ghcr.io/winkk-dev/firecrawl:latest```2. Playwright1. ```bash- docker build -t ghcr.io/winkk-dev/firecrawl-playwright:latest ../../apps/playwright-service+ docker build --no-cache -t ghcr.io/winkk-dev/firecrawl-playwright:latest ../../apps/playwright-servicedocker push ghcr.io/winkk-dev/firecrawl-playwright:latest```3. Replace the image in [worker.yaml](worker.yaml), [api.yaml](api.yaml) and [playwright-service.yaml](playwright-service.yaml)diff --git a/examples/kubernetes/cluster-install/api.yaml b/examples/kubernetes/cluster-install/api.yamlindex cdc69c3d3..81e61839b 100644--- a/examples/kubernetes/cluster-install/api.yaml+++ b/examples/kubernetes/cluster-install/api.yaml@@ -17,14 +17,15 @@ spec:containers:- name: apiimage: ghcr.io/winkk-dev/firecrawl:latest+ imagePullPolicy: Alwaysargs: [ "pnpm", "run", "start:production" ]ports:- containerPort: 3002envFrom:- configMapRef:name: firecrawl-config- - secretRef:- name: firecrawl-secret+ #- secretRef:+ # name: firecrawl-secret---apiVersion: v1kind: Servicediff --git a/examples/kubernetes/cluster-install/configmap.yaml b/examples/kubernetes/cluster-install/configmap.yamlindex b415d562f..32559de77 100644--- a/examples/kubernetes/cluster-install/configmap.yaml+++ b/examples/kubernetes/cluster-install/configmap.yaml@@ -7,8 +7,6 @@ data:PORT: "3002"HOST: "0.0.0.0"REDIS_URL: "redis://redis:6379"- PLAYWRIGHT_MICROSERVICE_URL: "http://playwright-service:3000"+ PLAYWRIGHT_MICROSERVICE_URL: "http://playwright-service:3000/html"USE_DB_AUTHENTICATION: "false"- SUPABASE_ANON_TOKEN: ""- SUPABASE_URL: ""- SUPABASE_SERVICE_TOKEN: ""+ HDX_NODE_BETA_MODE: "1"diff --git a/examples/kubernetes/cluster-install/playwright-service.yaml b/examples/kubernetes/cluster-install/playwright-service.yamlindex ce7942532..e916d9148 100644--- a/examples/kubernetes/cluster-install/playwright-service.yaml+++ b/examples/kubernetes/cluster-install/playwright-service.yaml@@ -1,3 +1,10 @@+apiVersion: v1+kind: ConfigMap+metadata:+ name: playwright-service-config+data:+ PORT: "3000"+---apiVersion: apps/v1kind: Deploymentmetadata:@@ -17,11 +24,12 @@ spec:containers:- name: playwright-serviceimage: ghcr.io/winkk-dev/firecrawl-playwright:latest+ imagePullPolicy: Alwaysports:- containerPort: 3000envFrom:- configMapRef:- name: firecrawl-config+ name: playwright-service-config---apiVersion: v1kind: Servicediff --git a/examples/kubernetes/cluster-install/worker.yaml b/examples/kubernetes/cluster-install/worker.yamlindex 2b3b2e791..545beaa39 100644--- a/examples/kubernetes/cluster-install/worker.yaml+++ b/examples/kubernetes/cluster-install/worker.yaml@@ -17,8 +17,9 @@ spec:containers:- name: workerimage: ghcr.io/winkk-dev/firecrawl:latest+ imagePullPolicy: AlwaysenvFrom:- configMapRef:name: firecrawl-config- - secretRef:- name: firecrawl-secret+ #- secretRef:+ # name: firecrawl-secret