From 8de9936a27c9ca02b0e1aaf9443345296dea56fd Mon Sep 17 00:00:00 2001 From: Minghan Zhang <112773885+zmh-program@users.noreply.github.com> Date: Thu, 20 Jun 2024 10:53:56 +0800 Subject: [PATCH] fix: remove port mapping in `host` network en docs --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index bdb3c0f..7641a16 100644 --- a/README.md +++ b/README.md @@ -143,11 +143,10 @@ English | [简体中文](https://github.com/Deeptrain-Community/chatnio/blob/mas > - Mount directory for configuration files: ~/**config** 2. ⚡ Docker installation (when running lightweight, it is often used in external _Mysql/RDS_ service) - > If you need to use the stable version, please use `programzmh/chatnio:stable` instead of `programzmh/chatnio:latest`. + > The host mapping address is `http://localhost:8094` after successful operation. If you need to use the stable version, please use `programzmh/chatnio:stable` instead of `programzmh/chatnio:latest`. ```shell docker run -d --name chatnio \ --network host \ - -p 8000:8094 \ -v ~/config:/config \ -v ~/logs:/logs \ -v ~/storage:/storage \ @@ -163,7 +162,6 @@ English | [简体中文](https://github.com/Deeptrain-Community/chatnio/blob/mas programzmh/chatnio:latest ``` > - *--network host* Assigns the container to use the host network, allowing it to access the host's network. You can modify this as needed. - > - *-p 8000:8094* Maps host port 8000 to 8094, feel free to modify the port number before the colon. > - SECRET: JWT Secret Key, generate a random string to modify > - SERVE_STATIC: Whether to enable static file service (normally there is no need to change this item, see below for answers to frequently asked questions) > - *-v ~/config:/config* mount host machine directory of configuration file, *-v ~/logs:/logs* mount host machine directory of log file,*-v ~/storage:/storage* mount generated files of additional functions