File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ FILES_URL: {{ .Values.global.filesDomain | quote }}
2323# used to display trigger endpoint API Base URL to the front-end .
2424# Example: https://api.dify.ai
2525TRIGGER_URL: {{ .Values.global.triggerDomain | quote }}
26+ {{- if .Values.agentbox.enabled }}
27+ CLI_API_URL: " http://{{ include " dify.api.fullname " . }}:{{ .Values.api.service.port }}"
28+ FILES_API_URL: " http://{{ include " dify.api.fullname " . }}:{{ .Values.api.service.port }}"
29+ {{- end }}
2630{{- end }}
2731
2832{{- define " dify.api.config" -}}
@@ -521,8 +525,6 @@ SMTP_OPPORTUNISTIC_TLS: {{ .Values.api.mail.smtp.tls.optimistic | toString | quo
521525{{- define " dify.sandbox.config" -}}
522526GIN_MODE: release
523527SANDBOX_PORT: '8194'
524- CLI_API_URL: " http://{{ include " dify.api.fullname " . }}:{{ .Values.api.service.port }}"
525- FILES_API_URL: " http://{{ include " dify.api.fullname " . }}:{{ .Values.api.service.port }}"
526528{{- if .Values.ssrfProxy.enabled }}
527529HTTP_PROXY: http://{{ template " dify.ssrfProxy.fullname" . }}:{{ .Values.ssrfProxy.service.port }}
528530HTTPS_PROXY: http://{{ template " dify.ssrfProxy.fullname" . }}:{{ .Values.ssrfProxy.service.port }}
You can’t perform that action at this time.
0 commit comments