mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
497aa5d25e
Added new ConfigMap for playwright-service and adjusted existing references. Applied imagePullPolicy: Always to ensure all images are updated promptly. Updated README to include --no-cache for Docker build instructions.
45 lines
857 B
YAML
45 lines
857 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: playwright-service-config
|
|
data:
|
|
PORT: "3000"
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: playwright-service
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: playwright-service
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: playwright-service
|
|
spec:
|
|
imagePullSecrets:
|
|
- name: docker-registry-secret
|
|
containers:
|
|
- name: playwright-service
|
|
image: ghcr.io/winkk-dev/firecrawl-playwright:latest
|
|
imagePullPolicy: Always
|
|
ports:
|
|
- containerPort: 3000
|
|
envFrom:
|
|
- configMapRef:
|
|
name: playwright-service-config
|
|
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: playwright-service
|
|
spec:
|
|
selector:
|
|
app: playwright-service
|
|
ports:
|
|
- protocol: TCP
|
|
port: 3000
|
|
targetPort: 3000
|