fix: 修改docker-compose构建镜像和二开配置环境变量

This commit is contained in:
npc0-hue
2026-01-29 14:38:48 +08:00
parent addf9c45bc
commit 76d648245c
+14 -6
View File
@@ -686,6 +686,14 @@ x-shared-env: &shared-api-worker-env
SANDBOX_EXPIRED_RECORDS_CLEAN_BATCH_SIZE: ${SANDBOX_EXPIRED_RECORDS_CLEAN_BATCH_SIZE:-1000}
SANDBOX_EXPIRED_RECORDS_RETENTION_DAYS: ${SANDBOX_EXPIRED_RECORDS_RETENTION_DAYS:-30}
SANDBOX_EXPIRED_RECORDS_CLEAN_TASK_LOCK_TTL: ${SANDBOX_EXPIRED_RECORDS_CLEAN_TASK_LOCK_TTL:-90000}
# 二开配置
EMAIL_DOMAIN: ${EMAIL_DOMAIN:-}
ADMIN_GROUP_ID: ${ADMIN_GROUP_ID:-888}
RMB_TO_USD_RATE: ${RMB_TO_USD_RATE:-6.95}
NEXT_PUBLIC_DEFAULT_DOMAIN: ${EMAIL_DOMAIN:-}
NEXT_PUBLIC_AUTH0_LOGOUT_URL: ${NEXT_PUBLIC_AUTH0_LOGOUT_URL:-}
ENABLE_EMAIL_PASSWORD_LOGIN: ${ENABLE_EMAIL_PASSWORD_LOGIN:-true}
HOSTED_FETCH_APP_TEMPLATES_MODE: ${HOSTED_FETCH_APP_TEMPLATES_MODE:-db}
services:
# Init container to fix permissions
@@ -709,7 +717,7 @@ services:
# API service
api:
image: ccr.ccs.tencentyun.com/yfgaia/dify-plus-api:1.11.4
image: ccr.ccs.tencentyun.com/yfgaia/dify-plus-api:1.11.4-fix.1
restart: always
environment:
# Use the shared environment variables.
@@ -753,7 +761,7 @@ services:
# worker service
# The Celery worker for processing all queues (dataset, workflow, mail, etc.)
worker:
image: ccr.ccs.tencentyun.com/yfgaia/dify-plus-api:1.11.4
image: ccr.ccs.tencentyun.com/yfgaia/dify-plus-api:1.11.4-fix.1
restart: always
environment:
# Use the shared environment variables.
@@ -792,7 +800,7 @@ services:
# worker-gaia service
# The Celery worker-gaia for processing the queue.
worker-gaia:
image: ccr.ccs.tencentyun.com/yfgaia/dify-plus-api:1.11.4
image: ccr.ccs.tencentyun.com/yfgaia/dify-plus-api:1.11.4-fix.1
restart: always
environment:
# Use the shared environment variables.
@@ -818,7 +826,7 @@ services:
# worker-dataset service
# The Celery worker-dataset for processing the queue.
worker-dataset:
image: ccr.ccs.tencentyun.com/yfgaia/dify-plus-api:1.11.4
image: ccr.ccs.tencentyun.com/yfgaia/dify-plus-api:1.11.4-fix.1
restart: always
environment:
# Use the shared environment variables.
@@ -844,7 +852,7 @@ services:
# worker_beat service
# Celery beat for scheduling periodic tasks.
worker_beat:
image: ccr.ccs.tencentyun.com/yfgaia/dify-plus-api:1.11.4
image: ccr.ccs.tencentyun.com/yfgaia/dify-plus-api:1.11.4-fix.1
restart: always
environment:
# Use the shared environment variables.
@@ -874,7 +882,7 @@ services:
# Frontend web application.
web:
image: ccr.ccs.tencentyun.com/yfgaia/dify-plus-web:1.11.4
image: ccr.ccs.tencentyun.com/yfgaia/dify-plus-web:1.11.4-fix.1
restart: always
environment:
CONSOLE_API_URL: ${CONSOLE_API_URL:-}