mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-02 19:27:48 +08:00
13 lines
330 B
Bash
13 lines
330 B
Bash
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
export NEXT_PUBLIC_DEPLOY_ENV=${DEPLOY_ENV}
|
|
export NEXT_PUBLIC_EDITION=${EDITION}
|
|
export NEXT_PUBLIC_API_PREFIX=${CONSOLE_URL}/console/api
|
|
export NEXT_PUBLIC_PUBLIC_API_PREFIX=${APP_URL}/api
|
|
export NEXT_PUBLIC_SENTRY_DSN=${SENTRY_DSN}
|
|
|
|
/usr/local/bin/pm2 -v
|
|
/usr/local/bin/pm2-runtime start /app/web/pm2.json
|