4paradigm / 4paradigm/OpenMLDB
add doc about docker with wsl2 and sbin ip
- Langage dominant
- C++
- Étoiles
- 1.7k
- Forks
- 331
- Merge moyen
- 12 j 12 h
- PR mergées (30 j)
- 1
Description
- [ ] docker desktop with wsl2 backend
- [x] sbin ip
- [x] better to default use cluster mode, not standalone. OPENMLDB_MODE
## sbin ip
0.7.x的部署方式为sbin(init.sh或显式使用sbin/deploy-all.sh&start-all.sh),部署配置使用一个文件`conf/hosts`,配置所有的组件的endpoint和目录
修改为公网IP,即`conf/hosts`中的`localhost:`修改为`:`。
但注意,目前部署脚本如果endpoint非localhost会使用ssh登录目标机器部署,onebox部署的临时解决方式是
```
sed -i '26i host="localhost"' openmldb/sbin/deploy-all.sh
sed -i '93i host="localhost"' openmldb/sbin/init.sh
```
强行让部署时使用本地模式,不使用ssh远程。`conf/hosts`中的endpoint保持公网ip。重新/work/init.sh即可。
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Look at the sbin/init.sh and sbin/deploy-all.sh scripts to understand the deployment configuration. The issue mentions modifying conf/hosts to use public IPs and adding host="localhost" lines to force local deployment. Check the current state of these scripts and the documentation structure to add a section about Docker with WSL2 backend and the sbin IP workaround.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- bash, docker, shell
- Domaine
- devops, documentation
- Type d'issue
- Documentation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 55/100