Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ APIKEY=${APIKEY}

# 部署配置 / Deployment configuration
# ModelEngine 开源版本号 / ModelEngine opensource version
VERSION=opensource-1.3.0
VERSION=experience-1.1.9

# 用户自定义数据库密码 / User-configured database password
DB_PASSWORD=ModelEngine@123
Expand Down
6 changes: 5 additions & 1 deletion docker/deploy.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
set -eux
set -eu
export WORKSPACE=$(cd "$(dirname "$(readlink -f "$0")")" && pwd)

echo "=== Deploying... ==="
Expand All @@ -8,6 +8,9 @@ mkdir -p app-platform-tmp/app-builder
mkdir -p app-platform-tmp/fit-runtime
mkdir -p app-platform-tmp/jade-db
mkdir -p app-platform-tmp/log
read -p "Please input SiliconFlow API key (Official website: https://cloud.siliconflow.cn): " APIKEY
echo "The input API key is: ${APIKEY:0:8}****"
sed -i "s/APIKEY=.*/APIKEY=${APIKEY}/g" .env
echo "Starting service..."
docker-compose -p app-platform up -d
echo "Service started"
Expand All @@ -16,3 +19,4 @@ docker stop sql-initializer
docker rm db-initializer
docker rm sql-initializer
echo "=== Finished ==="
echo "Please visit url: http://localhost:8001"
Loading