This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 74a9d2f3c Automated deployment:
bd5d4b4eadf206439824a437649690f6710ca0d8
74a9d2f3c is described below
commit 74a9d2f3c9ac53ac273823ef1eae4d0cb576a875
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AuthorDate: Tue May 17 05:09:13 2022 +0000
Automated deployment: bd5d4b4eadf206439824a437649690f6710ca0d8
---
en-us/docs/dev/user_doc/guide/start/docker.html | 17 +++++++++++++----
en-us/docs/dev/user_doc/guide/start/docker.json | 2 +-
.../pydolphinscheduler/core/process_definition.html | 6 ++++--
python/_modules/pydolphinscheduler/tasks/switch.html | 6 +++++-
python/api.html | 4 +++-
python/searchindex.js | 2 +-
python/tasks/switch.html | 2 ++
zh-cn/docs/dev/user_doc/guide/start/docker.html | 17 +++++++++++++----
zh-cn/docs/dev/user_doc/guide/start/docker.json | 2 +-
9 files changed, 43 insertions(+), 15 deletions(-)
diff --git a/en-us/docs/dev/user_doc/guide/start/docker.html
b/en-us/docs/dev/user_doc/guide/start/docker.html
index 023133177..9c561996c 100644
--- a/en-us/docs/dev/user_doc/guide/start/docker.html
+++ b/en-us/docs/dev/user_doc/guide/start/docker.html
@@ -19,7 +19,7 @@ or zookeeper server already exists.</p>
<h2>Prepare</h2>
<ul>
<li><a href="https://docs.docker.com/engine/install/">Docker</a> 1.13.1+</li>
-<li><a href="https://docs.docker.com/compose/">Docker Compose</a> 1.11.0+</li>
+<li><a href="https://docs.docker.com/compose/">Docker Compose</a> 1.28.0+</li>
</ul>
<h2>Start Server</h2>
<h3>Using standalone-server Docker Image</h3>
@@ -59,9 +59,13 @@ form its source package, and make sure you get the right
version. After download
<span class="hljs-meta">#</span><span class="bash"> Going to
docker-compose<span class="hljs-string">'s location</span></span>
<span class="hljs-meta">#</span><span class="bash"><span class="hljs-string">
For Mac or Linux users</span></span>
<span class="hljs-meta">$</span><span class="bash"><span class="hljs-string">
cd
apache-dolphinscheduler-"${DOLPHINSCHEDULER_VERSION}"-src/deploy/docker</span></span>
-<span class="hljs-meta">#</span><span class="bash"><span class="hljs-string">
For Windows users</span></span>
-<span class="hljs-meta">$</span><span class="bash"><span class="hljs-string">
cd
apache-dolphinscheduler-"${DOLPHINSCHEDULER_VERSION}"-src\deploy\docker</span></span>
-<span class="hljs-meta">$</span><span class="bash"><span class="hljs-string">
docker-compose up -d</span></span>
+<span class="hljs-meta">#</span><span class="bash"><span class="hljs-string">
For Windows users, you should run command `cd
apache-dolphinscheduler-"${DOLPHINSCHEDULER_VERSION}"-src\deploy\docker`</span></span>
+<span class="hljs-meta">
+#</span><span class="bash"><span class="hljs-string"> Initialize the database,
use profile schema</span></span>
+<span class="hljs-meta">$</span><span class="bash"><span class="hljs-string">
docker-compose --profile schema up -d</span></span>
+<span class="hljs-meta">
+#</span><span class="bash"><span class="hljs-string"> start all
dolphinscheduler server, use profile all</span></span>
+<span class="hljs-meta">$</span><span class="bash"><span class="hljs-string">
docker-compose --profile all up -d</span></span>
</code></pre>
<blockquote>
<p>NOTES: It will not only start DolphinScheduler servers but also some others
necessary services like PostgreSQL(with <code>root</code>
@@ -79,6 +83,7 @@ container when it up. You could start DolphinScheduler server
separately if you
-e
SPRING_DATASOURCE_URL="jdbc:postgresql://localhost:5432/<DATABASE>"
\
-e SPRING_DATASOURCE_USERNAME="<USER>" \
-e SPRING_DATASOURCE_PASSWORD="<PASSWORD>" \
+ --net host \
apache/dolphinscheduler-tools:"${DOLPHINSCHEDULER_VERSION}"
bin/create-schema.sh
<span class="hljs-meta">#</span><span class="bash"> Starting DolphinScheduler
service</span>
<span class="hljs-meta">$</span><span class="bash"> docker run -d --name
dolphinscheduler-master \
@@ -88,6 +93,7 @@ container when it up. You could start DolphinScheduler server
separately if you
-e SPRING_DATASOURCE_USERNAME=<span
class="hljs-string">"<USER>"</span> \
-e SPRING_DATASOURCE_PASSWORD=<span
class="hljs-string">"<PASSWORD>"</span> \
-e REGISTRY_ZOOKEEPER_CONNECT_STRING=<span
class="hljs-string">"localhost:2181"</span> \
+ --net host \
-d apache/dolphinscheduler-master:<span class="hljs-string">"<span
class="hljs-variable">${DOLPHINSCHEDULER_VERSION}</span>"</span></span>
<span class="hljs-meta">$</span><span class="bash"> docker run -d --name
dolphinscheduler-worker \
-e DATABASE=<span class="hljs-string">"postgresql"</span> \
@@ -96,6 +102,7 @@ container when it up. You could start DolphinScheduler
server separately if you
-e SPRING_DATASOURCE_USERNAME=<span
class="hljs-string">"<USER>"</span> \
-e SPRING_DATASOURCE_PASSWORD=<span
class="hljs-string">"<PASSWORD>"</span> \
-e REGISTRY_ZOOKEEPER_CONNECT_STRING=<span
class="hljs-string">"localhost:2181"</span> \
+ --net host \
-d apache/dolphinscheduler-worker:<span class="hljs-string">"<span
class="hljs-variable">${DOLPHINSCHEDULER_VERSION}</span>"</span></span>
<span class="hljs-meta">$</span><span class="bash"> docker run -d --name
dolphinscheduler-api \
-e DATABASE=<span class="hljs-string">"postgresql"</span> \
@@ -104,6 +111,7 @@ container when it up. You could start DolphinScheduler
server separately if you
-e SPRING_DATASOURCE_USERNAME=<span
class="hljs-string">"<USER>"</span> \
-e SPRING_DATASOURCE_PASSWORD=<span
class="hljs-string">"<PASSWORD>"</span> \
-e REGISTRY_ZOOKEEPER_CONNECT_STRING=<span
class="hljs-string">"localhost:2181"</span> \
+ --net host \
-d apache/dolphinscheduler-api:<span class="hljs-string">"<span
class="hljs-variable">${DOLPHINSCHEDULER_VERSION}</span>"</span></span>
<span class="hljs-meta">$</span><span class="bash"> docker run -d --name
dolphinscheduler-alert-server \
-e DATABASE=<span class="hljs-string">"postgresql"</span> \
@@ -112,6 +120,7 @@ container when it up. You could start DolphinScheduler
server separately if you
-e SPRING_DATASOURCE_USERNAME=<span
class="hljs-string">"<USER>"</span> \
-e SPRING_DATASOURCE_PASSWORD=<span
class="hljs-string">"<PASSWORD>"</span> \
-e REGISTRY_ZOOKEEPER_CONNECT_STRING=<span
class="hljs-string">"localhost:2181"</span> \
+ --net host \
-d apache/dolphinscheduler-alert-server:<span
class="hljs-string">"<span
class="hljs-variable">${DOLPHINSCHEDULER_VERSION}</span>"</span></span>
</code></pre>
<blockquote>
diff --git a/en-us/docs/dev/user_doc/guide/start/docker.json
b/en-us/docs/dev/user_doc/guide/start/docker.json
index 89a7b0823..8fa17e151 100644
--- a/en-us/docs/dev/user_doc/guide/start/docker.json
+++ b/en-us/docs/dev/user_doc/guide/start/docker.json
@@ -1,6 +1,6 @@
{
"filename": "docker.md",
- "__html": "<h1>Docker Quick Start</h1>\n<p>There are three ways to start
DolphinScheduler with Docker, <a
href=\"#using-standalone-server-docker-image\">Standalone-server</a> is the way
you\nfind if you just want to start and try DolphinScheduler as a beginner. <a
href=\"#using-docker-compose-to-start-server\">docker-compose</a> is for\nsome
who want to deploy DolphinScheduler in small or event middle scale workflows in
their daily work.\n<a href=\"#using-exists-postgresql-zookeeper\"> [...]
+ "__html": "<h1>Docker Quick Start</h1>\n<p>There are three ways to start
DolphinScheduler with Docker, <a
href=\"#using-standalone-server-docker-image\">Standalone-server</a> is the way
you\nfind if you just want to start and try DolphinScheduler as a beginner. <a
href=\"#using-docker-compose-to-start-server\">docker-compose</a> is for\nsome
who want to deploy DolphinScheduler in small or event middle scale workflows in
their daily work.\n<a href=\"#using-exists-postgresql-zookeeper\"> [...]
"link": "/dist/en-us/docs/dev/user_doc/guide/start/docker.html",
"meta": {}
}
\ No newline at end of file
diff --git a/python/_modules/pydolphinscheduler/core/process_definition.html
b/python/_modules/pydolphinscheduler/core/process_definition.html
index c2523b055..d78fa18cb 100644
--- a/python/_modules/pydolphinscheduler/core/process_definition.html
+++ b/python/_modules/pydolphinscheduler/core/process_definition.html
@@ -424,14 +424,16 @@
<span class="sd"> This method should be called before process
definition submit to java gateway</span>
<span class="sd"> For now, we have below checker:</span>
-<span class="sd"> * `self.param` should be set if task `switch` in this
workflow.</span>
+<span class="sd"> * `self.param` or at least one local param of task
should be set if task `switch` in this workflow.</span>
<span class="sd"> """</span>
<span class="k">if</span> <span class="p">(</span>
<span class="nb">any</span><span class="p">([</span><span
class="n">task</span><span class="o">.</span><span class="n">task_type</span>
<span class="o">==</span> <span class="n">TaskType</span><span
class="o">.</span><span class="n">SWITCH</span> <span class="k">for</span>
<span class="n">task</span> <span class="ow">in</span> <span
class="bp">self</span><span class="o">.</span><span class="n">tasks</span><span
class="o">.</span><span class="n">values</span><span class="p">() [...]
<span class="ow">and</span> <span class="bp">self</span><span
class="o">.</span><span class="n">param</span> <span class="ow">is</span> <span
class="kc">None</span>
+ <span class="ow">and</span> <span class="nb">all</span><span
class="p">([</span><span class="nb">len</span><span class="p">(</span><span
class="n">task</span><span class="o">.</span><span
class="n">local_params</span><span class="p">)</span> <span class="o">==</span>
<span class="mi">0</span> <span class="k">for</span> <span
class="n">task</span> <span class="ow">in</span> <span
class="bp">self</span><span class="o">.</span><span class="n">tasks</span><span
class="o">.</span> [...]
<span class="p">):</span>
<span class="k">raise</span> <span
class="n">PyDSParamException</span><span class="p">(</span>
- <span class="s2">"Parameter param must be provider if
task Switch in process definition."</span>
+ <span class="s2">"Parameter param or at least one
local_param of task must "</span>
+ <span class="s2">"be provider if task Switch in process
definition."</span>
<span class="p">)</span></div>
<div class="viewcode-block" id="ProcessDefinition.submit"><a
class="viewcode-back"
href="../../../api.html#pydolphinscheduler.core.ProcessDefinition.submit">[docs]</a>
<span class="k">def</span> <span class="nf">submit</span><span
class="p">(</span><span class="bp">self</span><span class="p">)</span> <span
class="o">-></span> <span class="nb">int</span><span class="p">:</span>
diff --git a/python/_modules/pydolphinscheduler/tasks/switch.html
b/python/_modules/pydolphinscheduler/tasks/switch.html
index c935cc979..8cf0ec1e4 100644
--- a/python/_modules/pydolphinscheduler/tasks/switch.html
+++ b/python/_modules/pydolphinscheduler/tasks/switch.html
@@ -203,7 +203,11 @@
<div class="viewcode-block" id="Switch"><a class="viewcode-back"
href="../../../tasks/switch.html#pydolphinscheduler.tasks.Switch">[docs]</a><span
class="k">class</span> <span class="nc">Switch</span><span
class="p">(</span><span class="n">Task</span><span class="p">):</span>
- <span class="sd">"""Task switch object, declare behavior
for switch task to dolphinscheduler."""</span>
+ <span class="sd">"""Task switch object, declare behavior
for switch task to dolphinscheduler.</span>
+
+<span class="sd"> Param of process definition or at least one local param
of task must be set</span>
+<span class="sd"> if task `switch` in this workflow.</span>
+<span class="sd"> """</span>
<span class="k">def</span> <span class="fm">__init__</span><span
class="p">(</span><span class="bp">self</span><span class="p">,</span> <span
class="n">name</span><span class="p">:</span> <span class="nb">str</span><span
class="p">,</span> <span class="n">condition</span><span class="p">:</span>
<span class="n">SwitchCondition</span><span class="p">,</span> <span
class="o">*</span><span class="n">args</span><span class="p">,</span> <span
class="o">**</span><span class="n">kwargs</spa [...]
<span class="nb">super</span><span class="p">()</span><span
class="o">.</span><span class="fm">__init__</span><span class="p">(</span><span
class="n">name</span><span class="p">,</span> <span
class="n">TaskType</span><span class="o">.</span><span
class="n">SWITCH</span><span class="p">,</span> <span class="o">*</span><span
class="n">args</span><span class="p">,</span> <span class="o">**</span><span
class="n">kwargs</span><span class="p">)</span>
diff --git a/python/api.html b/python/api.html
index 7c0f9c58b..fd48d4810 100644
--- a/python/api.html
+++ b/python/api.html
@@ -331,7 +331,7 @@ upstream task with task_code equal to <cite>0</cite>. This
is requests from java
<dd><p>Check specific condition satisfy before.</p>
<p>This method should be called before process definition submit to java
gateway
For now, we have below checker:
-* <cite>self.param</cite> should be set if task <cite>switch</cite> in this
workflow.</p>
+* <cite>self.param</cite> or at least one local param of task should be set if
task <cite>switch</cite> in this workflow.</p>
</dd></dl>
<dl class="py method">
@@ -2257,6 +2257,8 @@ object tries to communicate with Java gateway server.</p>
<em class="property"><span class="pre">class</span><span class="w">
</span></em><span class="sig-prename descclassname"><span
class="pre">pydolphinscheduler.tasks.</span></span><span class="sig-name
descname"><span class="pre">Switch</span></span><span
class="sig-paren">(</span><em class="sig-param"><span class="n"><span
class="pre">name</span></span><span class="p"><span
class="pre">:</span></span><span class="w"> </span><span class="n"><span
class="pre">str</span></span></em>, <em clas [...]
<dd><p>Bases: <a class="reference internal"
href="#pydolphinscheduler.core.Task"
title="pydolphinscheduler.core.task.Task"><code class="xref py py-class
docutils literal notranslate"><span
class="pre">pydolphinscheduler.core.task.Task</span></code></a></p>
<p>Task switch object, declare behavior for switch task to
dolphinscheduler.</p>
+<p>Param of process definition or at least one local param of task must be set
+if task <cite>switch</cite> in this workflow.</p>
<dl class="py method">
<dt class="sig sig-object py" id="pydolphinscheduler.tasks.Switch._set_dep">
<span class="sig-name descname"><span class="pre">_set_dep</span></span><span
class="sig-paren">(</span><span class="sig-paren">)</span> <span
class="sig-return"><span class="sig-return-icon">→</span> <span
class="sig-return-typehint"><span class="pre">None</span></span></span><a
class="reference internal"
href="_modules/pydolphinscheduler/tasks/switch.html#Switch._set_dep"><span
class="viewcode-link"><span class="pre">[source]</span></span></a><a
class="headerlink" href="#pydolph [...]
diff --git a/python/searchindex.js b/python/searchindex.js
index 3bad2d253..a4e8e8960 100644
--- a/python/searchindex.js
+++ b/python/searchindex.js
@@ -1 +1 @@
-Search.setIndex({docnames:["api","cli","concept","config","howto/index","howto/remote-submit","index","start","tasks/condition","tasks/datax","tasks/dependent","tasks/flink","tasks/func_wrap","tasks/http","tasks/index","tasks/map_reduce","tasks/procedure","tasks/python","tasks/shell","tasks/spark","tasks/sql","tasks/sub_process","tasks/switch","tutorial"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":5,"sphinx.domains.index
[...]
\ No newline at end of file
+Search.setIndex({docnames:["api","cli","concept","config","howto/index","howto/remote-submit","index","start","tasks/condition","tasks/datax","tasks/dependent","tasks/flink","tasks/func_wrap","tasks/http","tasks/index","tasks/map_reduce","tasks/procedure","tasks/python","tasks/shell","tasks/spark","tasks/sql","tasks/sub_process","tasks/switch","tutorial"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":5,"sphinx.domains.index
[...]
\ No newline at end of file
diff --git a/python/tasks/switch.html b/python/tasks/switch.html
index 351c01b65..3f011efff 100644
--- a/python/tasks/switch.html
+++ b/python/tasks/switch.html
@@ -162,6 +162,8 @@ could only have one single <a class="reference internal"
href="#pydolphinschedul
<em class="property"><span class="pre">class</span><span class="w">
</span></em><span class="sig-prename descclassname"><span
class="pre">pydolphinscheduler.tasks.switch.</span></span><span class="sig-name
descname"><span class="pre">Switch</span></span><span
class="sig-paren">(</span><em class="sig-param"><span class="n"><span
class="pre">name</span></span><span class="p"><span
class="pre">:</span></span><span class="w"> </span><span class="n"><span
class="pre">str</span></span></em>, < [...]
<dd><p>Bases: <a class="reference internal"
href="../api.html#pydolphinscheduler.core.Task"
title="pydolphinscheduler.core.task.Task"><code class="xref py py-class
docutils literal notranslate"><span
class="pre">pydolphinscheduler.core.task.Task</span></code></a></p>
<p>Task switch object, declare behavior for switch task to
dolphinscheduler.</p>
+<p>Param of process definition or at least one local param of task must be set
+if task <cite>switch</cite> in this workflow.</p>
<dl class="py method">
<dt class="sig sig-object py"
id="pydolphinscheduler.tasks.switch.Switch._set_dep">
<span class="sig-name descname"><span class="pre">_set_dep</span></span><span
class="sig-paren">(</span><span class="sig-paren">)</span> <span
class="sig-return"><span class="sig-return-icon">→</span> <span
class="sig-return-typehint"><span class="pre">None</span></span></span><a
class="reference internal"
href="../_modules/pydolphinscheduler/tasks/switch.html#Switch._set_dep"><span
class="viewcode-link"><span class="pre">[source]</span></span></a><a
class="headerlink" href="#pydo [...]
diff --git a/zh-cn/docs/dev/user_doc/guide/start/docker.html
b/zh-cn/docs/dev/user_doc/guide/start/docker.html
index fbf8e3ff4..5b78c0e2f 100644
--- a/zh-cn/docs/dev/user_doc/guide/start/docker.html
+++ b/zh-cn/docs/dev/user_doc/guide/start/docker.html
@@ -17,7 +17,7 @@
<h2>前置条件</h2>
<ul>
<li><a href="https://docs.docker.com/engine/install/">Docker</a> 1.13.1+</li>
-<li><a href="https://docs.docker.com/compose/">Docker Compose</a> 1.11.0+</li>
+<li><a href="https://docs.docker.com/compose/">Docker Compose</a> 1.28.0+</li>
</ul>
<h2>启动服务</h2>
<h3>使用 standalone-server 镜像</h3>
@@ -52,9 +52,13 @@ apache/dolphinscheduler-standalone-server 仅包含
DolphinScheduler 核心服
<span class="hljs-meta">$</span><span class="bash"> tar -zxf
apache-dolphinscheduler-<span class="hljs-string">"<span
class="hljs-variable">${DOLPHINSCHEDULER_VERSION}</span>"</span>-src.tar.gz</span>
<span class="hljs-meta">#</span><span class="bash"> Mac Linux 用户</span>
<span class="hljs-meta">$</span><span class="bash"> <span
class="hljs-built_in">cd</span> apache-dolphinscheduler-<span
class="hljs-string">"<span
class="hljs-variable">${DOLPHINSCHEDULER_VERSION}</span>"</span>-src/deploy/docker</span>
-<span class="hljs-meta">#</span><span class="bash"> Windows 用户</span>
-<span class="hljs-meta">$</span><span class="bash"> <span
class="hljs-built_in">cd</span> apache-dolphinscheduler-<span
class="hljs-string">"<span
class="hljs-variable">${DOLPHINSCHEDULER_VERSION}</span>"</span>-src\deploy\docker</span>
-<span class="hljs-meta">$</span><span class="bash"> docker-compose up -d</span>
+<span class="hljs-meta">#</span><span class="bash"> Windows 用户, `<span
class="hljs-built_in">cd</span> apache-dolphinscheduler-<span
class="hljs-string">"<span
class="hljs-variable">${DOLPHINSCHEDULER_VERSION}</span>"</span>-src\deploy\docker`</span>
+<span class="hljs-meta">
+#</span><span class="bash"> 如果需要初始化或者升级数据库结构,需要指定profile为schema</span>
+<span class="hljs-meta">$</span><span class="bash"> docker-compose --profile
schema up -d</span>
+<span class="hljs-meta">
+#</span><span class="bash"> 启动dolphinscheduler所有服务,指定profile为all</span>
+<span class="hljs-meta">$</span><span class="bash"> docker-compose --profile
all up -d</span>
</code></pre>
<blockquote>
<p>提醒:通过 docker-compose 启动服务时,除了会启动 DolphinScheduler 对应的服务外,还会启动必要依赖服务,如数据库
PostgreSQL(用户
@@ -72,6 +76,7 @@ ZooKeeper 且不想启动新的服务,可以使用这个方式分别启动 Dol
-e
SPRING_DATASOURCE_URL="jdbc:postgresql://localhost:5432/<DATABASE>"
\
-e SPRING_DATASOURCE_USERNAME="<USER>" \
-e SPRING_DATASOURCE_PASSWORD="<PASSWORD>" \
+ --net host \
apache/dolphinscheduler-tools:"${DOLPHINSCHEDULER_VERSION}"
bin/create-schema.sh
<span class="hljs-meta">#</span><span class="bash"> 启动 DolphinScheduler
对应的服务</span>
<span class="hljs-meta">$</span><span class="bash"> docker run -d --name
dolphinscheduler-master \
@@ -81,6 +86,7 @@ ZooKeeper 且不想启动新的服务,可以使用这个方式分别启动 Dol
-e SPRING_DATASOURCE_USERNAME=<span
class="hljs-string">"<USER>"</span> \
-e SPRING_DATASOURCE_PASSWORD=<span
class="hljs-string">"<PASSWORD>"</span> \
-e REGISTRY_ZOOKEEPER_CONNECT_STRING=<span
class="hljs-string">"localhost:2181"</span> \
+ --net host \
-d apache/dolphinscheduler-master:<span class="hljs-string">"<span
class="hljs-variable">${DOLPHINSCHEDULER_VERSION}</span>"</span></span>
<span class="hljs-meta">$</span><span class="bash"> docker run -d --name
dolphinscheduler-worker \
-e DATABASE=<span class="hljs-string">"postgresql"</span> \
@@ -89,6 +95,7 @@ ZooKeeper 且不想启动新的服务,可以使用这个方式分别启动 Dol
-e SPRING_DATASOURCE_USERNAME=<span
class="hljs-string">"<USER>"</span> \
-e SPRING_DATASOURCE_PASSWORD=<span
class="hljs-string">"<PASSWORD>"</span> \
-e REGISTRY_ZOOKEEPER_CONNECT_STRING=<span
class="hljs-string">"localhost:2181"</span> \
+ --net host \
-d apache/dolphinscheduler-worker:<span class="hljs-string">"<span
class="hljs-variable">${DOLPHINSCHEDULER_VERSION}</span>"</span></span>
<span class="hljs-meta">$</span><span class="bash"> docker run -d --name
dolphinscheduler-api \
-e DATABASE=<span class="hljs-string">"postgresql"</span> \
@@ -97,6 +104,7 @@ ZooKeeper 且不想启动新的服务,可以使用这个方式分别启动 Dol
-e SPRING_DATASOURCE_USERNAME=<span
class="hljs-string">"<USER>"</span> \
-e SPRING_DATASOURCE_PASSWORD=<span
class="hljs-string">"<PASSWORD>"</span> \
-e REGISTRY_ZOOKEEPER_CONNECT_STRING=<span
class="hljs-string">"localhost:2181"</span> \
+ --net host \
-d apache/dolphinscheduler-api:<span class="hljs-string">"<span
class="hljs-variable">${DOLPHINSCHEDULER_VERSION}</span>"</span></span>
<span class="hljs-meta">$</span><span class="bash"> docker run -d --name
dolphinscheduler-alert-server \
-e DATABASE=<span class="hljs-string">"postgresql"</span> \
@@ -105,6 +113,7 @@ ZooKeeper 且不想启动新的服务,可以使用这个方式分别启动 Dol
-e SPRING_DATASOURCE_USERNAME=<span
class="hljs-string">"<USER>"</span> \
-e SPRING_DATASOURCE_PASSWORD=<span
class="hljs-string">"<PASSWORD>"</span> \
-e REGISTRY_ZOOKEEPER_CONNECT_STRING=<span
class="hljs-string">"localhost:2181"</span> \
+ --net host \
-d apache/dolphinscheduler-alert-server:<span
class="hljs-string">"<span
class="hljs-variable">${DOLPHINSCHEDULER_VERSION}</span>"</span></span>
</code></pre>
<blockquote>
diff --git a/zh-cn/docs/dev/user_doc/guide/start/docker.json
b/zh-cn/docs/dev/user_doc/guide/start/docker.json
index 0d47ad8b7..738dc5889 100644
--- a/zh-cn/docs/dev/user_doc/guide/start/docker.json
+++ b/zh-cn/docs/dev/user_doc/guide/start/docker.json
@@ -1,6 +1,6 @@
{
"filename": "docker.md",
- "__html": "<h1>Docker 快速使用教程</h1>\n<p>本教程使用三种不同的方式通过 Docker 完成
DolphinScheduler 的部署,如果你想要快速体验,推荐使用 standalone-server 镜像,\n如果你想要体验比较完成的服务,推荐使用
docker-compose 启动服务。如果你已经有自己的数据库或者 Zookeeper 服务\n你想要沿用这些基础服务,你可以参考沿用已有的
PostgreSQL 和 ZooKeeper 服务完成部署。</p>\n<h2>前置条件</h2>\n<ul>\n<li><a
href=\"https://docs.docker.com/engine/install/\">Docker</a>
1.13.1+</li>\n<li><a href=\"https://docs.docker.com/compose/\">Docker
Compose</a> 1.11.0+</li>\n</ul>\n<h2>启动服务</h2>\n<h3>使用 standalone-server
镜像</h3>\n [...]
+ "__html": "<h1>Docker 快速使用教程</h1>\n<p>本教程使用三种不同的方式通过 Docker 完成
DolphinScheduler 的部署,如果你想要快速体验,推荐使用 standalone-server 镜像,\n如果你想要体验比较完成的服务,推荐使用
docker-compose 启动服务。如果你已经有自己的数据库或者 Zookeeper 服务\n你想要沿用这些基础服务,你可以参考沿用已有的
PostgreSQL 和 ZooKeeper 服务完成部署。</p>\n<h2>前置条件</h2>\n<ul>\n<li><a
href=\"https://docs.docker.com/engine/install/\">Docker</a>
1.13.1+</li>\n<li><a href=\"https://docs.docker.com/compose/\">Docker
Compose</a> 1.28.0+</li>\n</ul>\n<h2>启动服务</h2>\n<h3>使用 standalone-server
镜像</h3>\n [...]
"link": "/dist/zh-cn/docs/dev/user_doc/guide/start/docker.html",
"meta": {}
}
\ No newline at end of file