Skip to content

Commit

Permalink
Update 4-dockerDeployment.md (#332)
Browse files Browse the repository at this point in the history
Fix docker deployment
  • Loading branch information
xaitx authored Feb 28, 2024
1 parent 3d463ba commit eb77b66
Showing 1 changed file with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ sidebar_position: 4
#### 2. 部署

```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
wget https://raw.githubusercontent.com/apache/incubator-streampark/dev/docker/docker-compose.yaml
wget https://raw.githubusercontent.com/apache/incubator-streampark/dev/docker/.env
docker-compose up -d
```
服务启动后,可以通过 http://localhost:10000 访问 StreamPark,同时也可以通过 http://localhost:8081访问Flink。访问StreamPark链接后会跳转到登陆页面,StreamPark 默认的用户和密码分别为 admin 和 streampark。想要了解更多操作请参考用户手册快速上手。
Expand Down Expand Up @@ -55,8 +55,8 @@ docker-compose up -d
注意:部署支持的多样性是通过.env这个配置文件来进行维护的,要保证目录下有且仅有一个.env文件

```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/mysql/.env
wget https://raw.githubusercontent.com/apache/incubator-streampark/dev/docker/docker-compose.yaml
wget https://raw.githubusercontent.com/apache/incubator-streampark/dev/docker/mysql/.env
vim .env
```

Expand All @@ -77,8 +77,8 @@ docker-compose up -d
### 沿用已有的 Pgsql 服务

```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/pgsql/.env
wget https://raw.githubusercontent.com/apache/incubator-streampark/dev/docker/docker-compose.yaml
wget https://raw.githubusercontent.com/apache/incubator-streampark/dev/docker/pgsql/.env
vim .env
```

Expand All @@ -97,14 +97,14 @@ docker-compose up -d

```shell
git clone https://github.com/apache/incubator-streampark.git
cd incubator-streampark/deploy/docker
cd incubator-streampark/docker
vim docker-compose.yaml
```

```shell
build:
context: ../..
dockerfile: deploy/docker/Dockerfile
dockerfile: docker/Dockerfile
# image: ${HUB}:${TAG}
```
![](/doc/image/streampark_source_generation_image.png)
Expand Down Expand Up @@ -187,7 +187,7 @@ volumes:
最后,执行启动命令:
```shell
cd deploy/docker
cd docker
docker-compose up -d
```

Expand All @@ -210,4 +210,4 @@ ls

![](/doc/image/streampark_docker_ls_hadoop.png)

同时,其它配置文件,如maven的settings.xml文件也是以同样的方式上传。
同时,其它配置文件,如maven的settings.xml文件也是以同样的方式上传。

0 comments on commit eb77b66

Please sign in to comment.