mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 10:28:59 +08:00
feat: Support NEXT_TELEMETRY_DISABLED (#7181)
This commit is contained in:
parent
67b9fdaad7
commit
57ce8449b0
@ -232,6 +232,7 @@ services:
|
|||||||
CONSOLE_API_URL: ${CONSOLE_API_URL:-}
|
CONSOLE_API_URL: ${CONSOLE_API_URL:-}
|
||||||
APP_API_URL: ${APP_API_URL:-}
|
APP_API_URL: ${APP_API_URL:-}
|
||||||
SENTRY_DSN: ${WEB_SENTRY_DSN:-}
|
SENTRY_DSN: ${WEB_SENTRY_DSN:-}
|
||||||
|
NEXT_TELEMETRY_DISABLED: ${NEXT_TELEMETRY_DISABLED:-0}
|
||||||
|
|
||||||
# The postgres database.
|
# The postgres database.
|
||||||
db:
|
db:
|
||||||
|
@ -13,3 +13,6 @@ NEXT_PUBLIC_PUBLIC_API_PREFIX=http://localhost:5001/api
|
|||||||
|
|
||||||
# SENTRY
|
# SENTRY
|
||||||
NEXT_PUBLIC_SENTRY_DSN=
|
NEXT_PUBLIC_SENTRY_DSN=
|
||||||
|
|
||||||
|
# Disable Next.js Telemetry (https://nextjs.org/telemetry)
|
||||||
|
NEXT_TELEMETRY_DISABLED=1
|
@ -39,6 +39,7 @@ ENV DEPLOY_ENV=PRODUCTION
|
|||||||
ENV CONSOLE_API_URL=http://127.0.0.1:5001
|
ENV CONSOLE_API_URL=http://127.0.0.1:5001
|
||||||
ENV APP_API_URL=http://127.0.0.1:5001
|
ENV APP_API_URL=http://127.0.0.1:5001
|
||||||
ENV PORT=3000
|
ENV PORT=3000
|
||||||
|
ENV NEXT_TELEMETRY_DISABLED=1
|
||||||
|
|
||||||
# set timezone
|
# set timezone
|
||||||
ENV TZ=UTC
|
ENV TZ=UTC
|
||||||
|
@ -19,5 +19,6 @@ export NEXT_PUBLIC_PUBLIC_API_PREFIX=${APP_API_URL}/api
|
|||||||
|
|
||||||
export NEXT_PUBLIC_SENTRY_DSN=${SENTRY_DSN}
|
export NEXT_PUBLIC_SENTRY_DSN=${SENTRY_DSN}
|
||||||
export NEXT_PUBLIC_SITE_ABOUT=${SITE_ABOUT}
|
export NEXT_PUBLIC_SITE_ABOUT=${SITE_ABOUT}
|
||||||
|
export NEXT_TELEMETRY_DISABLED=${NEXT_TELEMETRY_DISABLED}
|
||||||
|
|
||||||
pm2 start ./pm2.json --no-daemon
|
pm2 start ./pm2.json --no-daemon
|
||||||
|
Loading…
x
Reference in New Issue
Block a user