Skip to content

Commit

Permalink
upgrage docker doc
Browse files Browse the repository at this point in the history
  • Loading branch information
gaoyan1998 committed Aug 1, 2024
1 parent 2a13c50 commit bd29cbd
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion deploy/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.9"

services:
dinky:
image: "ikiler/dinky:${DINKY_VERSION}-flink${FLINK_VERSION}"
image: "dinkydocker/dinky:${DINKY_VERSION}-flink${FLINK_VERSION}"
ports:
- "8888:8888"
env_file: .env
Expand Down
8 changes: 3 additions & 5 deletions docs/docs/deploy_guide/docker_deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ title: Docker 部署
## Docker启动
使用 H2 本地数据库快速启动
```shell
docker run --restart=always -p 8888:8888 \
--name dinky \
dinky dinkydocker/dinky-standalone-server:1.0.3-flink1.17
docker run --restart=always -p 8888:8888 --name dinky dinkydocker/dinky:1.1.0-flink1.17

```
使用 外部mysql数据库
Expand All @@ -31,7 +29,7 @@ docker run --restart=always -p 8888:8888 \
-e MYSQL_USERNAME=dinky \
-e MYSQL_PASSWORD=dinky \
-v /opt/lib:/opt/dinky/customJar/ \
dinky dinkydocker/dinky-standalone-server:1.0.3-flink1.17
dinkydocker/dinky:1.1.0-flink1.17

```
:::tip 说明
Expand All @@ -49,7 +47,7 @@ docker run --restart=always -p 8888:8888 \
-e POSTGRES_USERNAME=dinky \
-e POSTGRES_PASSWORD=dinky \
-v /opt/lib:/opt/dinky/customJar/ \
dinky dinkydocker/dinky-standalone-server:1.0.3-flink1.17
dinkydocker/dinky:1.1.0-flink1.17
```
---
### 使用docker-compose
Expand Down
12 changes: 6 additions & 6 deletions docs/docs/deploy_guide/kubernetes_deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ https://www.dinky.org.cn/download/download
cd dinky-release-${FLINK-VERSION}-${DINKY-VERSION}/deploy/kubernetes/helm/dinky
```yaml
image:
repository: "dinkydocker/dinky-standalone-server"
repository: "dinkydocker/dinky"
pullPolicy: "Always"
tag: "1.0.3-flink1.17"
tag: "1.1.0-flink1.17"
pullSecret: ""
```
#### 内部数据源(同一个k8环境中部署mysql服务)
Expand Down Expand Up @@ -82,9 +82,9 @@ nameOverride: ""
fullnameOverride: ""

image:
repository: "dinkydocker/dinky-standalone-server"
repository: "dinkydocker/dinky"
pullPolicy: "Always"
tag: "1.0.3-flink1.17"
tag: "1.1.0-flink1.17"
pullSecret: ""

mysql:
Expand Down Expand Up @@ -238,9 +238,9 @@ nameOverride: ""
fullnameOverride: ""

image:
repository: "dinkydocker/dinky-standalone-server"
repository: "dinkydocker/dinky"
pullPolicy: "Always"
tag: "1.0.3-flink1.17"
tag: "1.1.0-flink1.17"
pullSecret: ""

mysql:
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/get_started/quick_experience.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ title: 快速开始

```shell
# 拉取镜像
docker pull dinkydocker/dinky-standalone-server:1.0.3-flink1.17
docker pull dinkydocker/dinky:1.1.0-flink1.17
# 运行程序
docker run -p 8888:8888 \
--name dinky dinkydocker/dinky-standalone-server:1.0.3-flink1.17
--name dinky dinkydocker/dinky:1.1.0-flink1.17
```

:::tip 注意
Expand Down

0 comments on commit bd29cbd

Please sign in to comment.