mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Improve markdown of md files
This commit is contained in:
parent
45ca11ecd0
commit
7ea2c6eabf
@ -249,7 +249,7 @@ For this you can either:
|
|||||||
|
|
||||||
Example to connect a local `ejabberdctl` to a containerized ejabberd:
|
Example to connect a local `ejabberdctl` to a containerized ejabberd:
|
||||||
1. When creating the container, export port 5210, and set `ERLANG_COOKIE`:
|
1. When creating the container, export port 5210, and set `ERLANG_COOKIE`:
|
||||||
```
|
```sh
|
||||||
docker run --name ejabberd -it \
|
docker run --name ejabberd -it \
|
||||||
-e ERLANG_COOKIE=`cat $HOME/.erlang.cookie` \
|
-e ERLANG_COOKIE=`cat $HOME/.erlang.cookie` \
|
||||||
-p 5210:5210 -p 5222:5222 \
|
-p 5210:5210 -p 5222:5222 \
|
||||||
@ -260,7 +260,7 @@ docker run --name ejabberd -it \
|
|||||||
4. Now use `ejabberdctl` in your local ejabberd deployment
|
4. Now use `ejabberdctl` in your local ejabberd deployment
|
||||||
|
|
||||||
To connect using a local `ejabberd` script:
|
To connect using a local `ejabberd` script:
|
||||||
```
|
```sh
|
||||||
ERL_DIST_PORT=5210 _build/dev/rel/ejabberd/bin/ejabberd ping
|
ERL_DIST_PORT=5210 _build/dev/rel/ejabberd/bin/ejabberd ping
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user