This is an automated email from the ASF dual-hosted git repository.
benjobs pushed a commit to branch dev-2.1.3
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git
The following commit(s) were added to refs/heads/dev-2.1.3 by this push:
new 36a7b3516 [Improve] update quickstart-with-docker in README
36a7b3516 is described below
commit 36a7b35168165e0ae48ee359864264de351bdaac
Author: benjobs <[email protected]>
AuthorDate: Fri Jan 12 06:49:17 2024 +0800
[Improve] update quickstart-with-docker in README
---
README.md | 10 +++--
deploy/docker/README.md | 20 ---------
{deploy/docker => docker}/.env | 0
{deploy/docker => docker}/Dockerfile | 0
docker/README.md | 13 ++++++
{deploy/docker => docker}/docker-compose.yaml | 0
.../src/main/assembly/plugins/.gitkeep | 0
.../src/main/assembly/plugins/Dockerfile | 48 ----------------------
8 files changed, 19 insertions(+), 72 deletions(-)
diff --git a/README.md b/README.md
index 198e5f3df..c6b699255 100644
--- a/README.md
+++ b/README.md
@@ -59,6 +59,12 @@

+## 🚀 QuickStart
+- [Start with Docker](docker/README.md)
+- [Start with Kubernetes](deploy/helm/README.md)
+
+Click [Document](https://streampark.apache.org/docs/user-guide/quick-start)
for more information
+
## 🔨 How to Build
```shell
@@ -71,10 +77,6 @@ cd incubator-streampark
Download address for run-directly software package :
[https://streampark.apache.org/download](https://streampark.apache.org/download)
-## 🚀 Quick Start
-
-Click [Document](https://streampark.apache.org/docs/user-guide/quick-start)
for more information
-
## 💋 Our users
Various companies and organizations use StreamPark for research, production
and commercial products. Are you using this project? [Welcome to add your
company](https://github.com/apache/incubator-streampark/issues/163)!
diff --git a/deploy/docker/README.md b/deploy/docker/README.md
deleted file mode 100644
index a2b77ff2e..000000000
--- a/deploy/docker/README.md
+++ /dev/null
@@ -1,20 +0,0 @@
-# Deploy StreamPark on Docker
-
-### 1. get docker-compose
-
-```shell
-wget
https://raw.githubusercontent.com/apache/incubator-streampark/dev/deploy/docker/docker-compose.yaml
-wget
https://raw.githubusercontent.com/apache/incubator-streampark/dev/deploy/docker/.env
-```
-
-### 2. docker-compose up
-
-```shell
-docker-compose up -d
-```
-
-### 3. open in browser
-
-http://localhost:10000
-
-#### [more
detail](https://streampark.apache.org/docs/user-guide/docker-deployment)
diff --git a/deploy/docker/.env b/docker/.env
similarity index 100%
rename from deploy/docker/.env
rename to docker/.env
diff --git a/deploy/docker/Dockerfile b/docker/Dockerfile
similarity index 100%
rename from deploy/docker/Dockerfile
rename to docker/Dockerfile
diff --git a/docker/README.md b/docker/README.md
new file mode 100644
index 000000000..486bb9849
--- /dev/null
+++ b/docker/README.md
@@ -0,0 +1,13 @@
+# Deploy StreamPark on Docker
+
+### 1. docker-compose up
+
+```shell
+docker-compose up -d
+```
+
+### 2. open in browser
+
+http://localhost:10000
+
+#### [more
detail](https://streampark.apache.org/docs/user-guide/docker-deployment)
diff --git a/deploy/docker/docker-compose.yaml b/docker/docker-compose.yaml
similarity index 100%
rename from deploy/docker/docker-compose.yaml
rename to docker/docker-compose.yaml
diff --git
a/streampark-console/streampark-console-service/src/main/assembly/plugins/.gitkeep
b/streampark-console/streampark-console-service/src/main/assembly/plugins/.gitkeep
new file mode 100644
index 000000000..e69de29bb
diff --git
a/streampark-console/streampark-console-service/src/main/assembly/plugins/Dockerfile
b/streampark-console/streampark-console-service/src/main/assembly/plugins/Dockerfile
deleted file mode 100644
index 41a41c597..000000000
---
a/streampark-console/streampark-console-service/src/main/assembly/plugins/Dockerfile
+++ /dev/null
@@ -1,48 +0,0 @@
-###############################################################################
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements. See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License. You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-###############################################################################
-FROM docker:dind
-WORKDIR /streampark
-COPY . /streampark
-
-ARG DB=localhost
-ENV NODE_VERSION=16.1.0
-ENV NPM_VERSION=7.11.2
-
-RUN sed -i -e 's/eval $NOHUP/eval/' bin/streampark.sh \
- && sed -i -e 's/>> "$APP_OUT" 2>&1 "&"//' bin/streampark.sh \
- && sed -i -e 's/localhost/'$DB'/' conf/application.yml
-
-RUN apk add openjdk8 \
- && apk add maven \
- && apk add wget \
- && apk add vim \
- && apk add bash
-
-ENV JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
-ENV MAVEN_HOME=/usr/share/java/maven-3
-ENV PATH $JAVA_HOME/bin:$PATH
-ENV PATH $MAVEN_HOME/bin:$PATH
-
-RUN wget
"https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz" \
- && tar zxvf "node-v$NODE_VERSION-linux-x64.tar.gz" -C /usr/local
--strip-components=1 \
- && rm "node-v$NODE_VERSION-linux-x64.tar.gz" \
- && ln -s /usr/local/bin/node /usr/local/bin/nodejs
-
-RUN mkdir -p ~/.kube \
- && cat plugins/config >> ~/.kube/config
-
-EXPOSE 10000