Skip to content

Commit b5c2785

Browse files
authored
ci: fix config ci and it works (langgenius#11807)
Signed-off-by: yihong0618 <[email protected]>
1 parent 493834d commit b5c2785

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

docker/.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ ACCESS_TOKEN_EXPIRE_MINUTES=60
107107

108108
# The maximum number of active requests for the application, where 0 means unlimited, should be a non-negative integer.
109109
APP_MAX_ACTIVE_REQUESTS=0
110+
APP_MAX_EXECUTION_TIME=1200
110111

111112
# ------------------------------
112113
# Container Startup Related Configuration
@@ -606,6 +607,7 @@ UPLOAD_AUDIO_FILE_SIZE_LIMIT=50
606607
# Sentry Configuration
607608
# Used for application monitoring and error log tracking.
608609
# ------------------------------
610+
SENTRY_DSN=
609611

610612
# API Service Sentry DSN address, default is empty, when empty,
611613
# all monitoring information is not reported to Sentry.

docker/docker-compose.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ x-shared-env: &shared-api-worker-env
1818
LOG_DATEFORMAT: ${LOG_DATEFORMAT:-"%Y-%m-%d %H:%M:%S"}
1919
LOG_TZ: ${LOG_TZ:-UTC}
2020
DEBUG: ${DEBUG:-false}
21+
SENTRY_DSN: ${SENTRY_DSN:-}
2122
FLASK_DEBUG: ${FLASK_DEBUG:-false}
2223
SECRET_KEY: ${SECRET_KEY:-sk-9f73s3ljTXVcMT3Blb3ljTqtsKiGHXVcMT3BlbkFJLK7U}
2324
INIT_PASSWORD: ${INIT_PASSWORD:-}
@@ -28,6 +29,7 @@ x-shared-env: &shared-api-worker-env
2829
FILES_ACCESS_TIMEOUT: ${FILES_ACCESS_TIMEOUT:-300}
2930
ACCESS_TOKEN_EXPIRE_MINUTES: ${ACCESS_TOKEN_EXPIRE_MINUTES:-60}
3031
APP_MAX_ACTIVE_REQUESTS: ${APP_MAX_ACTIVE_REQUESTS:-0}
32+
APP_MAX_EXECUTION_TIME: ${APP_MAX_EXECUTION_TIME:-1200}
3133
DIFY_BIND_ADDRESS: ${DIFY_BIND_ADDRESS:-0.0.0.0}
3234
DIFY_PORT: ${DIFY_PORT:-5001}
3335
SERVER_WORKER_AMOUNT: ${SERVER_WORKER_AMOUNT:-}

0 commit comments

Comments
 (0)