2024-06-04 18:52:08 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
name: worker
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: worker
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: worker
|
|
|
|
spec:
|
|
|
|
imagePullSecrets:
|
|
|
|
- name: docker-registry-secret
|
|
|
|
containers:
|
2024-07-24 17:31:37 +00:00
|
|
|
- name: worker
|
|
|
|
image: ghcr.io/winkk-dev/firecrawl:latest
|
|
|
|
imagePullPolicy: Always
|
|
|
|
args: [ "pnpm", "run", "workers" ]
|
|
|
|
envFrom:
|
|
|
|
- configMapRef:
|
|
|
|
name: firecrawl-config
|
|
|
|
#- secretRef:
|
|
|
|
# name: firecrawl-secret
|