Gluttony-Cluster/firefly-iii/catagorize-ai.yaml

36 lines
825 B
YAML
Raw Normal View History

2023-11-16 00:42:47 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: catagorize-ai
namespace: firefly-ns
spec:
replicas: 1
selector:
matchLabels:
2023-11-16 01:00:02 +00:00
app: firefly-iii
2023-11-16 00:42:47 +00:00
template:
metadata:
labels:
2023-12-03 02:51:04 +00:00
app: firefly-iii
2023-11-16 00:42:47 +00:00
spec:
containers:
- name: catagorize-ai
image: ghcr.io/bahuma20/firefly-iii-ai-categorize
ports:
- containerPort: 3000
env:
- name: FIREFLY_URL
value: https://money.clortox.com
2023-11-16 00:44:42 +00:00
- name: ENABLE_UI
2023-12-03 02:51:04 +00:00
value: "true"
2023-11-16 00:42:47 +00:00
- name: FIREFLY_PERSONAL_TOKEN
valueFrom:
secretKeyRef:
name: firefly-iii-ai
key: FIREFLY_PERSONAL_TOKEN
- name: OPENAI_API_KEY
valueFrom:
secretKeyRef:
name: firefly-iii-ai
key: OPENAI