Skip to content

Commit

Permalink
Merge pull request #60 from dlimeng/dev
Browse files Browse the repository at this point in the history
fix docker images
  • Loading branch information
dlimeng authored Sep 14, 2023
2 parents ef743a5 + 671b934 commit 45a241b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/development/docker-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ sidebar_position: 2
```shell script
tar -zxvf solidui-x.x.x-bin.tar.gz
cd solidui-x.x.x-bin/entrance-server

# changing the JDBC MySQL IP under the same network
vi solidui-x.x.x-bin/entrance-server/conf/application.yaml
jdbc:mysql://mysql:3306/solidui?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true

# Building image
docker build -f ./docker/Dockerfile -t solidui-entrance:x.x.x .

```
Expand All @@ -31,8 +37,11 @@ tar -zxvf solidui-x.x.x-bin.tar.gz
cd solidui-x.x.x-bin
# update .env
vi soliduimodelui/.env
DB_HOST=mysql
SNAKEMQ_LISTENER=0.0.0.0
SNAKEMQ_CONNECTOR=soliduimodelui

# Building image
docker build -f ./soliduimodelui/docker/Dockerfile -t soliduimodelui:x.x.x .
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ sidebar_position: 2
```shell script
tar -zxvf solidui-x.x.x-bin.tar.gz
cd solidui-x.x.x-bin/entrance-server

# 同一个网络下修改jdbc mysql ip
vi solidui-x.x.x-bin/entrance-server/conf/application.yaml
jdbc:mysql://mysql:3306/solidui?useSSL=false&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true

# Building image
docker build -f ./docker/Dockerfile -t solidui-entrance:x.x.x .

```
Expand All @@ -30,6 +36,7 @@ tar -zxvf solidui-x.x.x-bin.tar.gz
cd solidui-x.x.x-bin
# 修改.env配置文件
vi soliduimodelui/.env
DB_HOST=mysql
SNAKEMQ_LISTENER=0.0.0.0
SNAKEMQ_CONNECTOR=soliduimodelui

Expand Down

0 comments on commit 45a241b

Please sign in to comment.