add karakeep
Signed-off-by: gwg313 <gwg313@pm.me>
This commit is contained in:
parent
b345ca7e36
commit
f90093f5e1
18 changed files with 304 additions and 3 deletions
40
karakeep/web-deployment.yaml
Normal file
40
karakeep/web-deployment.yaml
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: web
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: karakeep-web
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: karakeep-web
|
||||
spec:
|
||||
containers:
|
||||
- name: web
|
||||
image: ghcr.io/karakeep-app/karakeep
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- containerPort: 3000
|
||||
env:
|
||||
- name: MEILI_ADDR
|
||||
value: http://meilisearch:7700
|
||||
- name: BROWSER_WEB_URL
|
||||
value: http://chrome:9222
|
||||
- name: DATA_DIR
|
||||
value: /data
|
||||
# Add OPENAI_API_KEY to the ConfigMap if necessary
|
||||
volumeMounts:
|
||||
- mountPath: /data
|
||||
name: data
|
||||
envFrom:
|
||||
- secretRef:
|
||||
name: karakeep-secrets
|
||||
- configMapRef:
|
||||
name: karakeep-configuration
|
||||
volumes:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: karakeep-data-pvc
|
||||
Loading…
Add table
Add a link
Reference in a new issue