mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-06-04 11:24:40 +08:00

* 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`
30 lines
667 B
YAML
30 lines
667 B
YAML
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:
|
|
- name: worker
|
|
image: ghcr.io/winkk-dev/firecrawl:latest
|
|
imagePullPolicy: Always
|
|
args: [ "pnpm", "run", "workers" ]
|
|
env:
|
|
- name: FLY_PROCESS_GROUP
|
|
value: "worker"
|
|
envFrom:
|
|
- configMapRef:
|
|
name: firecrawl-config
|
|
- secretRef:
|
|
name: firecrawl-secret
|