diff --git a/docker/.env.example b/docker/.env.example index fb815ea160..74a436b082 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -24,6 +24,11 @@ CONSOLE_WEB_URL= # Example: https://api.dify.ai SERVICE_API_URL= +# Trigger external URL +# used to display trigger endpoint API Base URL to the front-end. +# Example: https://api.dify.ai +TRIGGER_URL= + # WebApp API backend Url, # used to declare the back-end URL for the front-end API. # If empty, it is the same domain. diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index 81f2a5e625..6d1f2e8352 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -8,6 +8,7 @@ x-shared-env: &shared-api-worker-env CONSOLE_API_URL: ${CONSOLE_API_URL:-} CONSOLE_WEB_URL: ${CONSOLE_WEB_URL:-} SERVICE_API_URL: ${SERVICE_API_URL:-} + TRIGGER_URL: ${TRIGGER_URL:-} APP_API_URL: ${APP_API_URL:-} APP_WEB_URL: ${APP_WEB_URL:-} FILES_URL: ${FILES_URL:-}