diff --git a/README.en-us.md b/README.en-us.md index 8047f6e..7d1306b 100644 --- a/README.en-us.md +++ b/README.en-us.md @@ -140,10 +140,10 @@ Please download the corresponding management backend version according to the ve Install the following dependent software: --Redis 2.8 or above --MySQL 5.7 or above +-Redis v2.8 or above +-MySQL v5.7 or above -Apollo Configuration Center (optional) --Nacos or Eureka Service Registry (optional) +-Eureka v1.10.17 or Nacos (v2.0.4 or above) Service Registry (optional) Dependent installation can refer to detailed deployment tutorial @@ -169,6 +169,10 @@ installation method 1: binary package: Installation method 2: docker: +Download SQL script from page: https://github.com/wehotel/fizz-gateway-community/releases/tag/{version} (replace {version} with corresponding version number) + +For the first installation, execute the `fizz-manager-professional-{version}-mysql.sql` database script, upgrade from a low version to a high version, and choose to execute the corresponding upgrade script in the update directory + 1. Download docker image:docker pull fizzgate/fizz-manager-professional:{version} 2. Modify Redis & database configuration by env parameters and run with below docker command ```sh diff --git a/README.md b/README.md index 63d8744..c923580 100644 --- a/README.md +++ b/README.md @@ -142,10 +142,10 @@ API地址:http://demo.fizzgate.com/proxy/[服务名]/[API_Path] 安装以下依赖软件: -- Redis 2.8或以上版本 -- MySQL 5.7或以上版本 +- Redis v2.8或以上版本 +- MySQL v5.7或以上版本 - Apollo配置中心 (可选) -- Eureka或Nacos服务注册中心(可选) +- Eureka v1.10.17或Nacos v2.0.4或以上版本(可选) 依赖的安装可参考详细部署教程 @@ -170,6 +170,11 @@ API地址:http://demo.fizzgate.com/proxy/[服务名]/[API_Path] 5. Windows启动 执行`.\boot.cmd start` 命令启动服务,支持 start/stop/restart/status命令 安装方式二(v2.0.0或以上版本):docker: + +SQL脚本下载页:https://github.com/wehotel/fizz-gateway-community/releases/tag/{version} (把{version}替换为对应版本号) + +首次安装执行`fizz-manager-professional-{version}-mysql.sql`数据库脚本,从低版本升级至高版本选择执行update目录下对应升级脚本(如有脚本则执行) + 1. 下载对应版本的镜像:docker pull fizzgate/fizz-manager-professional:{version} 2. 通过环境变量方式修改redis配置、database配置(其它配置同理)并运行镜像 ```sh diff --git a/fizz-bootstrap/src/main/resources/application.yml b/fizz-bootstrap/src/main/resources/application.yml index 90fee28..586ac8c 100644 --- a/fizz-bootstrap/src/main/resources/application.yml +++ b/fizz-bootstrap/src/main/resources/application.yml @@ -59,7 +59,7 @@ aggregate: # need replace password: 123456 #please input the redis password (default:123456) # need replace - database: 10 #please input the redis database (default:9) + database: 9 #please input the redis database (default:9) # redis cluster config # type: cluster # type can be standalone or cluster, standalone is default