Skip to content

Commit 06cd638

Browse files
authored
[app-builder] task: switch to experience images (#558)
1 parent cee812b commit 06cd638

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

docker/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ APIKEY=${APIKEY}
1010

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

1515
# 用户自定义数据库密码 / User-configured database password
1616
DB_PASSWORD=ModelEngine@123

docker/deploy.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
set -eux
2+
set -eu
33
export WORKSPACE=$(cd "$(dirname "$(readlink -f "$0")")" && pwd)
44

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

0 commit comments

Comments
 (0)