Parcourir la source

Fix/docker env namings (#5857)

Co-authored-by: dahuahua <38651850@qq.com>
tags/0.6.13
Chenhe Gu il y a 1 an
Parent
révision
d468f8b75c
Aucun compte lié à l'adresse e-mail de l'auteur
2 fichiers modifiés avec 6 ajouts et 6 suppressions
  1. 2
    2
      docker/.env.example
  2. 4
    4
      docker/docker-compose.yaml

+ 2
- 2
docker/.env.example Voir le fichier

DEPLOY_ENV=PRODUCTION DEPLOY_ENV=PRODUCTION


# Whether to enable the version check policy. # Whether to enable the version check policy.
# If set to false, https://updates.dify.ai will not be called for version check.
CHECK_UPDATE_URL=true
# If set to empty, https://updates.dify.ai will not be called for version check.
CHECK_UPDATE_URL=https://updates.dify.ai


# Used to change the OpenAI base address, default is https://api.openai.com/v1. # Used to change the OpenAI base address, default is https://api.openai.com/v1.
# When OpenAI cannot be accessed in China, replace it with a domestic mirror address, # When OpenAI cannot be accessed in China, replace it with a domestic mirror address,

+ 4
- 4
docker/docker-compose.yaml Voir le fichier

CONSOLE_API_URL: ${CONSOLE_API_URL:-} CONSOLE_API_URL: ${CONSOLE_API_URL:-}
SERVICE_API_URL: ${SERVICE_API_URL:-} SERVICE_API_URL: ${SERVICE_API_URL:-}
APP_WEB_URL: ${APP_WEB_URL:-} APP_WEB_URL: ${APP_WEB_URL:-}
CHECK_UPDATE_URL: ${CHECK_UPDATE_URL:-true}
OPENAI_API_BASE: ${OPENAI_API_BASE:-}
CHECK_UPDATE_URL: ${CHECK_UPDATE_URL:-https://updates.dify.ai}
OPENAI_API_BASE: ${OPENAI_API_BASE:-https://api.openai.com/v1}
FILES_URL: ${FILES_URL:-} FILES_URL: ${FILES_URL:-}
FILES_ACCESS_TIMEOUT: ${FILES_ACCESS_TIMEOUT:-300} FILES_ACCESS_TIMEOUT: ${FILES_ACCESS_TIMEOUT:-300}
MIGRATION_ENABLED: ${MIGRATION_ENABLED:-true} MIGRATION_ENABLED: ${MIGRATION_ENABLED:-true}
- api - api
- web - web
ports: ports:
- "${NGINX_PORT:-80}:${EXPOSE_NGINX_PORT:-80}"
- "${NGINX_SSL_PORT:-443}:${EXPOSE_NGINX_SSL_PORT:-443}"
- "${EXPOSE_NGINX_PORT:-80}:${NGINX_PORT:-80}"
- "${EXPOSE_NGINX_SSL_PORT:-443}:${NGINX_SSL_PORT:-443}"


# The Weaviate vector store. # The Weaviate vector store.
weaviate: weaviate:

Chargement…
Annuler
Enregistrer