apiVersion: apps/v1 kind: Deployment metadata: name: langfuse namespace: unt spec: replicas: 1 selector: matchLabels: app: langfuse template: metadata: labels: app: langfuse spec: containers: - name: langfuse image: langfuse/langfuse:2 ports: - containerPort: 3000 env: - name: DATABASE_URL value: "postgresql://langfuse:langfuse@postgres:5432/langfuse" - name: NEXTAUTH_SECRET value: "unt-dev-secret" - name: NEXTAUTH_URL value: "http://localhost:3000" - name: SALT value: "unt-dev-salt-not-for-production-use" readinessProbe: httpGet: path: /api/public/health port: 3000 initialDelaySeconds: 30 periodSeconds: 10 timeoutSeconds: 5 failureThreshold: 10 resources: requests: memory: 256Mi cpu: 200m limits: memory: 1Gi --- apiVersion: v1 kind: Service metadata: name: langfuse namespace: unt spec: selector: app: langfuse ports: - port: 3000 targetPort: 3000