From dc82c295564b010392b348767f3b2eaf642e560b Mon Sep 17 00:00:00 2001 From: Artur Mukhamadiev Date: Mon, 26 Jan 2026 00:37:43 +0300 Subject: [PATCH] [docs] fixed docker description --- README.md | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 0e6ef2d..f1fceab 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ meson test -C build -v ## Docker -You can build and run the server using Docker. +You can build and run the cli using Docker. ### 1. Build Image ```bash @@ -37,20 +37,12 @@ docker build -t cloud-point-rpc . ``` ### 2. Run Container -The server runs on port **8080** by default (defined in `config.yaml` inside the image). +The cli will listen to port defined in config.yml file. (defined in `config.yaml` inside the image). +For simplicity, it's better to use a host network, so you will not have any headache with accessability. -**Option A: Port Mapping** -```bash -docker run -p 8080:8080 cloud-point-rpc -``` +> *Server is not configured to run through container, if you need, contact me* -**Option B: Host Network (For Simplicity/Performance)** -```bash -docker run --network host cloud-point-rpc -``` - -**Custom Configuration:** -You can mount your own `config.yaml` to override the default settings: +You also can mount your own `config.yaml` to override the default settings: ```bash docker run --network=host -it -v $(pwd)/my_config.yaml:/app/config.yaml cloud-point-rpc ```