Skip to content

Commit 2b0d7f3

Browse files
change config file name in README (#81)
1 parent a80509e commit 2b0d7f3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

seekdb/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Below is a table of supported environment variables for the image:
4242
| INIT_SCRIPTS_PATH | The path in the container containing the init scripts. |
4343
| SEEKDB_DATABASE | The name of the database to be created at startup. |
4444

45-
If you'd like to modify other seekdb parameters, you can do mount a configuration file into `/etc/oceanbase/seekdb.cnf` in the container, the default configuration file is as follows.
45+
If you'd like to modify other seekdb parameters, you can do mount a configuration file into `/etc/seekdb/seekdb.cnf` in the container, the default configuration file is as follows.
4646

4747
```
4848
datafile_size=2G
@@ -58,7 +58,7 @@ log_disk_size=2G
5858
The start command should be like this.
5959
```
6060
# **Note:** If you decide to use a configuration file, please don't specify the resource related environment variables.
61-
docker run -d -p 2881:2881 -p 2886:2886 -v {config_file}:/etc/oceanbase/seekdb.cnf oceanbase/seekdb
61+
docker run -d -p 2881:2881 -p 2886:2886 -v {config_file}:/etc/seekdb/seekdb.cnf oceanbase/seekdb
6262
```
6363

6464
## Data Persistence

seekdb/README_CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ docker run -d -p 2881:2881 -p 2886:2886 -e ROOT_PASSWORD={set_as_your_pwd} -v {i
4242
| INIT_SCRIPTS_PATH | 容器中包含初始化脚本的路径。 |
4343
| SEEKDB_DATABASE | 启动时要创建的数据库名称。 |
4444

45-
如果您想修改其他 seekdb 参数,可以将配置文件挂载到容器中的 `/etc/oceanbase/seekdb.cnf`,默认配置文件如下。
45+
如果您想修改其他 seekdb 参数,可以将配置文件挂载到容器中的 `/etc/seekdb/seekdb.cnf`,默认配置文件如下。
4646

4747
```
4848
datafile_size=2G
@@ -58,7 +58,7 @@ log_disk_size=2G
5858
启动命令应如下所示。
5959
```
6060
# **注意:** 如果您决定使用配置文件,请不要指定与资源相关的环境变量。
61-
docker run -d -p 2881:2881 -p 2886:2886 -v {config_file}:/etc/oceanbase/seekdb.cnf oceanbase/seekdb
61+
docker run -d -p 2881:2881 -p 2886:2886 -v {config_file}:/etc/seekdb/seekdb.cnf oceanbase/seekdb
6262
```
6363

6464
## 数据持久化

0 commit comments

Comments
 (0)