apiVersion: apps/v1 kind: Deployment metadata: name: langfuse-web namespace: langfuse labels: app: langfuse-web spec: replicas: 1 strategy: type: Recreate selector: matchLabels: app: langfuse-web template: metadata: labels: app: langfuse-web annotations: llm.local/compose-service: "langfuse-web" spec: nodeName: prod102 enableServiceLinks: false hostAliases: - ip: 10.0.1.47 hostnames: ["host.docker.internal"] containers: - name: langfuse-web image: docker.langfuse.com/langfuse/langfuse:4 imagePullPolicy: IfNotPresent command: - "dumb-init" - "--" - "./web/entrypoint.sh" args: - "/bin/sh" - "-c" - "if [ -n \"$NEXT_PUBLIC_LANGFUSE_CLOUD_REGION\" ]; then node --import dd-trace/initialize.mjs ./web/server.js --keepAliveTimeout 110000; else node ./web/server.js --keepAliveTimeout 110000; fi" envFrom: - secretRef: name: langfuse-web-env ports: - containerPort: 3000 hostPort: 3100 protocol: TCP --- apiVersion: v1 kind: Service metadata: name: langfuse-web namespace: langfuse spec: selector: app: langfuse-web ports: - name: p3000 port: 3000 targetPort: 3000 protocol: TCP