Document how to check logs

pull/2/head
Mickael Remond 8 years ago
parent 8ff99f0c1a
commit b30f8f4612
No known key found for this signature in database
GPG Key ID: E6F6045D79965AA3

@ -38,13 +38,21 @@ This command will use default configuration file and XMPP domain "localhost".
### Running ejabberd with your config file and database host directory
The following command
The following command will pass config file using Docker volume feature and share local directory to store database:
```bash
mkdir db
docker run --name ejabberd -v $(pwd)/ejabberd.yml:/home/p1/cfg/ejabberd.yml -v $(pwd)/db:/home/p1/db -p 5222:5222 ejabberd/ecs
```
### Checking ejabberd log file
You can execute a Docker command to check the content of the log file from inside to container, even if you do not put it on a shared persistent drive:
```bash
docker exec -it ejabberd /usr/bin/tail -f /home/p1/log/ejabberd.log
```
## Docker image advanced configuration
### Files

Loading…
Cancel
Save