Skip to content

Commit acc3ac9

Browse files
authored
[Fix-18139][Docker] Docker compose deployment error (#18140)
1 parent 6d686f3 commit acc3ac9

4 files changed

Lines changed: 41 additions & 134 deletions

File tree

deploy/docker/docker-compose.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ version: "3.8"
1818

1919
services:
2020
dolphinscheduler-postgresql:
21-
image: bitnami/postgresql:15.2.0
21+
image: bitnamilegacy/postgresql:15.2.0-debian-11-r9
22+
2223
ports:
2324
- "5432:5432"
2425
profiles: ["all", "schema"]
@@ -37,7 +38,7 @@ services:
3738
- dolphinscheduler
3839

3940
dolphinscheduler-zookeeper:
40-
image: bitnami/zookeeper:3.7.1
41+
image: bitnamilegacy/zookeeper:3.7.1-debian-11-r99
4142
profiles: ["all"]
4243
environment:
4344
ALLOW_ANONYMOUS_LOGIN: "yes"

deploy/docker/docker-stack.yml

Lines changed: 0 additions & 132 deletions
This file was deleted.

docs/docs/en/guide/start/docker.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,25 @@ There are three ways to start DolphinScheduler with Docker
1111
Need to install [Docker](https://docs.docker.com/engine/install/) 1.13.1+ and [Docker Compose](https://docs.docker.com/compose/) 1.28.0+
1212
before starting DolphinScheduler with Docker
1313

14+
## Download Plugins Dependencies
15+
16+
Starting from version 3.3.0, the binary package no longer provides plugin dependencies, and users need to download them by themselves. The plugin dependency package download address: [Plugin Dependency Package](https://repo.maven.apache.org/maven2/org/apache/dolphinscheduler)
17+
You can also execute the following command to install plugin dependencies:
18+
19+
```shell
20+
bash ./bin/install-plugins.sh 3.3.0
21+
```
22+
23+
Usually, you do not need all connector plugins, you can specify the plugins you need by configuring `conf/plugins_config`. For example, if you only need the `dolphinscheduler-task-shell` plugin, you can modify the configuration file as follows:
24+
25+
```
26+
--task-plugins--
27+
dolphinscheduler-task-shell
28+
--end--
29+
```
30+
31+
> **_Note:_** The plugin dependency package is usually not included in the binary package. If you encounter a `ClassNotFoundException` error when starting the service, please refer to the documentation of the relevant plugin type to check if the plugin dependency package is missing. For example, `dolphinscheduler-datasource-mysql` does not include `mysql-connector-java.jar`.
32+
1433
## Start Server
1534

1635
### Using standalone-server Docker Image

docs/docs/zh/guide/start/docker.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,25 @@
1010

1111
需要安装 [Docker](https://docs.docker.com/engine/install/) 1.13.1 以上版本,以及 [Docker Compose](https://docs.docker.com/compose/) 1.28.0 以上版本。
1212

13+
## 下载插件依赖
14+
15+
从 3.3.0 版本开始,二进制包不再提供插件依赖,需要用户自行下载。插件依赖包下载地址:[插件依赖包](https://repo.maven.apache.org/maven2/org/apache/dolphinscheduler)
16+
你也可以执行以下命令来安装插件依赖:
17+
18+
```shell
19+
bash ./bin/install-plugins.sh 3.3.0
20+
```
21+
22+
通常你并不需要所有的连接器插件,可以通过配置 `conf/plugins_config` 来指定你所需要的插件,例如,你只需要 `dolphinscheduler-task-shell` 插件,那么您可以修改配置文件如下:
23+
24+
```
25+
--task-plugins--
26+
dolphinscheduler-task-shell
27+
--end--
28+
```
29+
30+
> **_注意:_** 插件依赖包通常不包含在二进制包中,如果你在启动服务时遇到 `ClassNotFoundException` 错误,请参考相关插件类型的文档检查是否缺少插件依赖包,例如 `dolphinscheduler-datasource-mysql` 中不包含 `mysql-connector-java.jar`
31+
1332
## 启动服务
1433

1534
### 使用 standalone-server 镜像

0 commit comments

Comments
 (0)