提交 c1f8cc87 编写于 作者: 小傅哥's avatar 小傅哥

feat: Zookeeper compose 配置

上级 a9f34219
# 命令执行 docker-compose up -d
version: '3.1'
services:
zoo1:
image: zookeeper:3.9.0
container_name: zookeeper
restart: always
hostname: zoo1
ports:
- 2181:2181
environment:
ZOO_MY_ID: 1
ZOO_SERVERS: server.1=zoo1:2888:3888;2181
\ No newline at end of file
<mxfile host="Electron" modified="2023-07-08T07:56:39.870Z" agent="5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/20.2.8 Chrome/102.0.5005.167 Electron/19.0.15 Safari/537.36" etag="77Un8b684fJ4gk2lIWMf" version="20.2.8" type="device" pages="3"><diagram id="hV2Dg5-riD1u_J5CvaS4" name="第 1 页">3VrLcqM4FP0aVaUX3SUkHvISbNyz6FSlJou0V12KkW1mMPKAHNv5+pFAGGPwI9V2oPEikS6SAB2de+6VAHi43H5P6GrxyAMWAQSDLcAjgJBhEFv+U5ZdbnGwkxvmSRjkJlgansN3pnsW1nUYsFTbcpPgPBLhqmqc8jhmU1Gx0SThm2qzGY+CimFF56xmeJ7SqG59CQOxyK0DCEv7XyycL4o728WVJS0aa0O6oAHfHJiwD/Aw4VzkpeV2yCI1edV5GZ+4un+whMXimg7uf87k9Rd+/B6l8HGC3r2Xl9nXYppTsSvemAVyAnSVJ2LB5zymkV9avYSv44CpYaGslW1+cL6SRkMa/2FC7DSadC24NC3EMtJX2TYUPw/KEzXUN0vXRls9clbZ6Ur+nOrhTr6/NqV8nUzZuZfW64gmcybOtCN7lOTyZnzJRLKT/RIWURG+VZ+D6nU237croZAFjcZHkNE8eaPRWt/q76dhI1o/6KtkXWWGaRTOY1meyslhiTS8sUSEclm7+sIyDIIcTJaG7/Q1G0/N84qHschexvKANdrPvBqAbUED53TncqUfYnJm1dVnVg//FX6D0nPkg10923q4J/X8B034bJZKlI/h2N/1NxAyGtH4JO6UfJkcXOkMd8xWuWP3mDvGRe6Y+VC7yg07zC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JcTLEdLdzRttQBkrJbO7Gjp7CEjCf1iLsDiYYSn3rD48e2K3oKM6J4FEja8MoF9AztiSgCzyd/SJCMykyuCSHbhecAt8kGuD9zpGKh8ia03UvnURu9G5TZqJoVGQOVIvek0QiofkpIR7EjJWstW1o2yO7LKAt8BkznwbK6GngYcdZD643MyuqyaPLtjGlemdPonZSRHcBUZZ1uctHvrSzHb3F9nRXjD6fWC+9+ooHTuz4KKgaOEo7ichp/Bgyh1m2mGMVicEQUPP16aDKGOlqp0726dJrObKXQbmvX1JFd3nUv1e8qSyce7P3aW7LVoBmpa8wTI3ZV2tMp8KDu9gZGVz4j/jHyutENNvR+DGWo9kOfMCkwhcOSd0Bt9siEgaTv1+g6ASLtnQ59urXzvS0d9sjXe8stgl8YHL8UFKb8KQxOzbzTO16VwDdSYbNVhENXq142+Vr+h+Azm+J2SfATcZxHkFDjTIsM34X+KYz+lzmhFxIkAGyK78EwRerozXvkc0O/vE403mdzuKwTZzRWiu/JmtlY5T1d+qcFuT19Aljbz9B0p8v8H</diagram></mxfile>
\ No newline at end of file
zkCli.sh -server 192.168.1.103:2181
docker exec -it zookeeper bash
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册