You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: op-guide/docker-compose.md
+5-7Lines changed: 5 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -85,24 +85,22 @@ To customize the cluster, you can edit the `docker-compose.yml` file directly. I
85
85
86
86
```bash
87
87
cd tidb-docker-compose
88
-
cp compose/values.yaml values.yaml
89
-
vim values.yaml
88
+
vim compose/values.yaml # custom the cluster size, docker image, port mapping and so on
90
89
```
91
90
92
91
You can modify the configuration in`values.yaml`, such as the cluster size, TiDB image version, and so on.
93
92
94
-
[tidb-vision](https://github.com/pingcap/tidb-vision) is the data visualization interface of the TiDB cluster, used to visually display the PD scheduling on TiKV data. If you do not need this component, leave `tidbVision`empty.
93
+
[tidb-vision](https://github.com/pingcap/tidb-vision) is the data visualization interface of the TiDB cluster, used to visually display the PD scheduling on TiKV data. If you do not need this component, comment out the `tidbVision`section.
95
94
96
95
For PD, TiKV, TiDB and tidb-vision, you can build Docker images from GitHub source code or local files for development and testing.
97
96
98
-
- To build the image of a component from GitHub source code, you need to leave the `image` field empty and set`buildFrom` to `remote`.
99
-
- To build PD, TiKV or TiDB images from the locally compiled binary file, you need to leave the `image` field empty, set`buildFrom` to `local` and copy the compiled binary file to the corresponding `pd/bin/pd-server`, `tikv/bin/tikv-server`, `tidb/bin/tidb-server`.
100
-
- To build the tidb-vision image from local, you need to leave the `image` field empty, set`buildFrom` to `local` and copy the tidb-vision project to `tidb-vision/tidb-vision`.
97
+
- To build PD, TiKV or TiDB images from the locally compiled binary file, you need to comment out the `image` field and copy the compiled binary file to the corresponding `pd/bin/pd-server`, `tikv/bin/tikv-server`, `tidb/bin/tidb-server`.
98
+
- To build the tidb-vision image from local, you need to comment out the `image` field and copy the tidb-vision project to `tidb-vision/tidb-vision`.
0 commit comments