a43f3a42ca3bb325bb9a801ffac3e8c7201c20bd
\345\271\263\345\217\260\345\222\214app\346\216\210\346\235\203/\351\203\250\347\275\262\346\226\207\346\241\243.md
... | ... | @@ -41,12 +41,18 @@ url=jdbc:dm://192.168.168.176:30236/SYSDBA |
41 | 41 | username=SYSDBA |
42 | 42 | password=SYSDBA001 |
43 | 43 | ``` |
44 | +- postgresql数据库配置 |
|
45 | +``` |
|
46 | +url=jdbc:postgresql://192.168.184.122:5432/postgres?currentSchema=public&encoding=UTF-8&timezone=UTC |
|
47 | +username=postgres |
|
48 | +password=postgresql |
|
49 | +``` |
|
44 | 50 | |
45 | 51 | - 回到根目录,执行 `nohup ./grant > grant.log 2>&1 & |
46 | 52 | `,grant.log 日志出现`Listening and serving HTTP on :8080`日志,即表示运行成功。同时需要查看是否grant进程存在。 |
47 | 53 | |
48 | 54 | #### 容器部署 |
49 | -下载镜像:[[grant-v2.tar|http://iidp.chinasie.com:9999/iidpminio/grant/grant-v2.tar]],从v3版本开始支持达梦数据库:[[grant-v3.tar|http://iidp.chinasie.com:9999/iidpminio/grant/grant-v3.tar]] |
|
55 | +下载镜像:[[grant-v2.tar|http://iidp.chinasie.com:9999/iidpminio/grant/grant-v2.tar]],从v3版本开始支持达梦数据库:[[grant-v3.tar|http://iidp.chinasie.com:9999/iidpminio/grant/grant-v3.tar]] , 从v3.2.0 开始支持postgresql数据库:[[harbor.devcenter.gushen.sieiot.com/iidp/sie-grant:v3.2.0]] |
|
50 | 56 | |
51 | 57 | - docker部署,在```/app/build/conf```配置好相关配置文件(参考裸机配置,但docker配置需要自行挂载配置文件,参考下面的 -v 命令,其中```/app/build/conf``` 配置文件目录是固定死的,容器外的路径可自行配置),并执行以下docker命令 |
52 | 58 | ``` |