Przeglądaj źródła

fix: bootstrap env (#127)

Co-authored-by: yuhao1118 <yuhao1118@bytedance.net>
tags/0.2.2
Yuhao 2 lat temu
rodzic
commit
7722a7c5cd
No account linked to committer's email address
2 zmienionych plików z 13 dodań i 1 usunięć
  1. 1
    1
      api/.env.example
  2. 12
    0
      web/.env.example

+ 1
- 1
api/.env.example Wyświetl plik

@@ -14,7 +14,7 @@ CONSOLE_URL=http://127.0.0.1:5001
API_URL=http://127.0.0.1:5001

# Web APP base URL
APP_URL=http://127.0.0.1:5001
APP_URL=http://127.0.0.1:3000

# celery configuration
CELERY_BROKER_URL=redis://:difyai123456@localhost:6379/1

+ 12
- 0
web/.env.example Wyświetl plik

@@ -0,0 +1,12 @@
# For production release, change this to PRODUCTION
NEXT_PUBLIC_DEPLOY_ENV=DEVELOPMENT
# The deployment edition, SELF_HOSTED or CLOUD
NEXT_PUBLIC_EDITION=SELF_HOSTED
# The base URL of console application, refers to the Console base URL of WEB service if console domain is
# different from api or web app domain.
# example: http://cloud.dify.ai/console/api
NEXT_PUBLIC_API_PREFIX=http://localhost:5001/console/api
# The URL for Web APP, refers to the Web App base URL of WEB service if web app domain is different from
# console or api domain.
# example: http://udify.app/api
NEXT_PUBLIC_PUBLIC_API_PREFIX=http://localhost:5001/api

Ładowanie…
Anuluj
Zapisz