mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-11-30 10:18:13 +08:00
14 lines
343 B
Bash
Executable File
14 lines
343 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
export NEXT_PUBLIC_DEPLOY_ENV=${DEPLOY_ENV}
|
|
export NEXT_PUBLIC_EDITION=${EDITION}
|
|
export NEXT_PUBLIC_API_PREFIX=${CONSOLE_API_URL}/console/api
|
|
export NEXT_PUBLIC_PUBLIC_API_PREFIX=${APP_API_URL}/api
|
|
|
|
export NEXT_PUBLIC_SENTRY_DSN=${SENTRY_DSN}
|
|
export NEXT_PUBLIC_SITE_ABOUT=${SITE_ABOUT}
|
|
|
|
pm2 start ./pm2.json --no-daemon
|