mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 03:32:23 +08:00
57ce8449b0
Some checks failed
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Waiting to run
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Waiting to run
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Waiting to run
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Blocked by required conditions
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Blocked by required conditions
Mark stale issues and pull requests / stale (push) Has been cancelled
25 lines
679 B
Bash
Executable File
25 lines
679 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
|
|
# if you are using windows, you may need to convert the file to unix format
|
|
# you can use the Ubuntu terminal to convert this file to unix format
|
|
# otherwise, you may get the error after running the docker container
|
|
|
|
# sudo apt-get install dos2unix
|
|
# dos2unix entrypoint.sh
|
|
|
|
|
|
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}
|
|
export NEXT_TELEMETRY_DISABLED=${NEXT_TELEMETRY_DISABLED}
|
|
|
|
pm2 start ./pm2.json --no-daemon
|