@ -23,11 +23,23 @@ docker run --rm -v $(pwd):$(pwd) -w $(pwd) ejabberd/mix do deps.get, deps.compil
## Run ejabberd with mix command-line tool attached
You can customize the configuration by editing the file `config/ejabberd.yml`. As a default, you can run ejabberd with console attached on "localhost" domain:
You can then connect with user test@localhost (password: passw0rd) on server on localhost port 5222 and use those parameters to connect with an XMPP client.
## Get into the container
@ -37,6 +49,15 @@ If you want to run Erlang command line, you can do so by opening a shell inside
docker run -it -v $(pwd):$(pwd) -w $(pwd) --entrypoint="/bin/sh" ejabberd/mix
```
## Getting Elixir version
```bash
docker run -it --rm -v $(pwd):$(pwd) -w $(pwd) ejabberd/mix --version
Building the image is not needed if you simply want to use it. You can simply use the one from [ejabberd Docker Hub](https://hub.docker.com/u/ejabberd/dashboard/).