From 9506880c5ad449b706b4ca75b86957855eedbce5 Mon Sep 17 00:00:00 2001 From: lihongda Date: Tue, 11 Aug 2020 15:37:08 +0800 Subject: [PATCH] update docker docs --- ...-in-Docker-container-installation-guide.md | 21 +++++++++++++++++ ...50\243\205\346\214\207\345\215\227.md.swp" | Bin 0 -> 12288 bytes ...11\350\243\205\346\214\207\345\215\227.md" | 22 ++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 "content/zh/docs/installation/.openGauss\345\256\271\345\231\250\347\211\210\346\234\254\345\256\211\350\243\205\346\214\207\345\215\227.md.swp" diff --git a/content/en/docs/installation/openGauss-in-Docker-container-installation-guide.md b/content/en/docs/installation/openGauss-in-Docker-container-installation-guide.md index 4b0453d98..1e3607781 100644 --- a/content/en/docs/installation/openGauss-in-Docker-container-installation-guide.md +++ b/content/en/docs/installation/openGauss-in-Docker-container-installation-guide.md @@ -24,6 +24,27 @@ Before you build the image make sure that you have provided the installation bin Choose one of: 1.0.0 SingleInstance -i: ignores the MD5 checksums +### self-defined parameter +To make openGuass mirroring more flexible, you can set additional parameters.More controllable parameters will be added in the future. The following variables are supported in the current version. + +#### `GS_PASSWORD` +This parameter must be set when you use the openGauss mirror.The parameter value cannot be null or undefined.This parameter sets the password for the openGauss database superuser OMM and the test user Gaussdb.OpenGauss is installed with omM superuser created by default, and this user name cannot be changed temporarily.The test user Gaussdb is a custom created user in [Docker-entrypoint.sh]. + +The openGauss mirror is configured with a local trust mechanism, so you do not need a password to connect to the database within the container, but you must enter a password if you want to connect from outside the container (another host or another container). + +**The openGauss password must be more than 8 characters long, and must also contain English letters, Numbers, and special symbols** + +#### `GS_NODENAME` + +Specifies that the database node name defaults to gaussdb + +#### `GS_USERNAME` + +Specifies that the database connection user name defaults to gaussdb + +#### `GS_PORT` +Specifies the database port, which defaults to 5432 + ### Architecture And Os Version diff --git "a/content/zh/docs/installation/.openGauss\345\256\271\345\231\250\347\211\210\346\234\254\345\256\211\350\243\205\346\214\207\345\215\227.md.swp" "b/content/zh/docs/installation/.openGauss\345\256\271\345\231\250\347\211\210\346\234\254\345\256\211\350\243\205\346\214\207\345\215\227.md.swp" new file mode 100644 index 0000000000000000000000000000000000000000..fee24834873093db2f0ece3a33834c0fb8d77143 GIT binary patch literal 12288 zcmeHN?N3|R89!@|Wo7jfgq>!8QdxF;u@H;$^z+cZpQW$X4~qed z0gC~P0gC~P0gC~P0gC~P0gC~P0gC~Pf&W1U-1sB9f?xi#Ps4cp{eS28|3@zn@-5(- z00I8+B|?4=tOI$V1~>)$_IW~n1Kb0Ko+IQY@aS1W{sPPcjlfZ$3OEcr1N`xegk*p< zU>;$ghE8z)|2ZK!Lw~j*!0se+E7VQos^01zZ6x1D!xE z@CNV$;Jd(gfNulO0nY*inD{IqqreEz4)_2!@b}LUavyjXNC0u*3UC?l0bd6mfwPZ+ zKLH;Bg2N18eJlq4>kR0bJe%#212LqcqJrxAIX2jD%y+S_@xu6ZJ=aG_Q&SV6)ZR(W zahf(UPUCWRx&uz1w|RGoidh?Zv&vEFs3b2^%;&tL1ZW`Sr*^yF-LCA)V4)-6?ezMT zHl_8oU?8MWdn>go^i2K5H&52rzg>5}<~2=e2`Ir1x29cI1Ff%DRUe^07uI0pM^k+Y z<_};oA718(6pwf5*$9h|l+E?ft7<4<_o!OX?(LxVjuZI6k4Mp)=B4Y{(IeHn2Dwb5 zX`A*7pRl9@kF^C9joL3z)2Y^GYJdBs$1QpZCVk3N=*Pc(-pa-O9%Hpt*dx6D_ng-A z{d_2)ZzKyJxdAL{)vVe4Twm}aRdeG~aZ zPM)tle$=G;bjXKMoZPp+IeZpW=t7~ra_|GwimrKO?V` z@xAWKF)k<;GhC_hvd4w@(`;a7dp%yvj~S_1J(CkL7Fkk3n?z#Ooqwz8v8N<$g?xsaj!G-$M=g*z2J$-wdS^7rd zP8Uzc*ldDNcC*|(ijY6-7TzSoxZYkLmomlSE!;h!XYRA5(ZYjyl&qfVg&f<86sPlS zFwRF;Svx*BeF03_~;!NE=?9&Zr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205\346\214\207\345\215\227.md" "b/content/zh/docs/installation/openGauss\345\256\271\345\231\250\347\211\210\346\234\254\345\256\211\350\243\205\346\214\207\345\215\227.md" index 082d515a2..6a9119d07 100644 --- "a/content/zh/docs/installation/openGauss\345\256\271\345\231\250\347\211\210\346\234\254\345\256\211\350\243\205\346\214\207\345\215\227.md" +++ "b/content/zh/docs/installation/openGauss\345\256\271\345\231\250\347\211\210\346\234\254\345\256\211\350\243\205\346\214\207\345\215\227.md" @@ -24,6 +24,28 @@ Docker构建文件,方便DevOps用户的安装、配置和环境设置。. 查 Choose one of: 1.0.0 SingleInstance -i: ignores the MD5 checksums +### 环境变量 +为了更灵活的使用openGuass镜像,可以设置额外的参数。未来我们会扩充更多的可控制参数,当前版本支持以下变量的设定。 + +#### `GS_PASSWORD` +在你使用openGauss镜像的时候,必须设置该参数。该参数值不能为空或者不定义。该参数设置了openGauss数据库的超级用户omm以及测试用户gaussdb的密码。openGauss安装时默认会创建omm超级用户,该用户名暂时无法修改。测试用户gaussdb是在[docker-entry +point.sh]中自定义创建的用户。 + +openGauss镜像配置了本地信任机制,因此在容器内连接数据库无需密码,但是如果要从容器外部(其它主机或者其它容器)连接则必须要输入密码。 + +**openGauss的密码有复杂度要求,需要:密码长度8个字符以上,必须同时包含英文字母,数字,以及特殊符号** + +#### `GS_NODENAME` + +指定数据库节点名称 默认为gaussdb + +#### `GS_USERNAME` + +指定数据库连接用户名 默认为gaussdb + +#### `GS_PORT` +指定数据库端口,默认为5432 + ### 支持的架构和操作系统版本 -- Gitee