Skip to content

Commit

Permalink
支持加载插件
Browse files Browse the repository at this point in the history
  • Loading branch information
hotlong committed Dec 17, 2024
1 parent b9c63ad commit a8df800
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion deploy/enterprise/app/builder6/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"version": "0.0.0",
"license": "MIT",
"dependencies": {
"@builder6/server": "^0.3.6"
"@builder6/server": "^0.5.0"
}
}
2 changes: 1 addition & 1 deletion deploy/enterprise/app/builder6/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ fi


# 使用 Node.js 20 运行应用
exec "$NODEJS_DIR" ./node_modules/@builder6/server/dist/b6.server.js -u "$STEEDOS_STORAGE_DIR"/builder6
exec "$NODEJS_DIR" ./node_modules/@builder6/server/dist/b6.server.js -u /opt/steedos/builder6
7 changes: 4 additions & 3 deletions deploy/enterprise/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ services:
- NPM_CACHE_PACKAGE_CONTENT=true
- NPM_REGISTRY_URL=https://registry.npmmirror.com
- STEEDOS_WIDGETS_ADDITIONAL=@steedos-widgets/liveblocks
- B6_SERVER_VERSION=^0.3.6
- B6_SERVER_VERSION=^0.5.0
- B6_HOME=/opt/steedos/builder6
- B6_PLUGIN_PACKAGES=@builder6/node-red,lodash
- B6_PLUGIN_SERVICES=
- B6_PLUGIN_MODULES=
- B6_PLUGIN_SERVICES=@builder6/node-red
- B6_PLUGIN_MODULES=@builder6/node-red
tty: true
volumes:
- "./steedos-storage:/steedos-storage"
Expand Down

0 comments on commit a8df800

Please sign in to comment.