Skip to content

Commit fd4a379

Browse files
Add configuration for trigger url (#391)
1 parent 2680a09 commit fd4a379

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

charts/dify/templates/config.tpl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ APP_WEB_URL: {{ .Values.global.appWebDomain | quote }}
1919
# used to display File preview or download Url to the front-end or as Multi-model inputs;
2020
# Url is signed and has expiration time.
2121
FILES_URL: {{ .Values.global.filesDomain | quote }}
22+
# Trigger external URL
23+
# used to display trigger endpoint API Base URL to the front-end.
24+
# Example: https://api.dify.ai
25+
TRIGGER_URL: {{ .Values.global.triggerDomain | quote }}
2226
{{- end }}
2327

2428
{{- define "dify.api.config" -}}

charts/dify/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ global:
2828
# or download URL to the front-end or as a multi-modal model input;
2929
# In order to prevent others from forging, the image preview URL is signed and has a 5-minute expiration time.
3030
filesDomain: ""
31+
# Trigger service domain, used by API and workers for trigger functionality.
32+
# If empty, trigger functionality may not work properly. Example: trigger.dify.ai
33+
triggerDomain: ""
3134
marketplace:
3235
enabled: true
3336
url: "https://marketplace.dify.ai"

0 commit comments

Comments
 (0)