1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/prosody/README.md
2019-12-21 13:01:13 +08:00

27 lines
724 B
Markdown

prosody
=======
[Prosody][1] is a modern XMPP communication server. It aims to be easy to set
up and configure, and efficient with system resources.
## up and running
```bash
$ docker-compose run --rm --user=root --entrypoint=chown prosody -R prosody /var/{lib,log}/prosody
$ docker-compose up -d
$ docker-compose exec prosody prosodyctl cert generate localhost
$ mv data/var/localhost.* data/etc/certs/
$ docker-compose restart
$ docker-compose exec prosody bash
>>> prosodyctl about
>>> prosodyctl check
>>> prosodyctl status
>>> prosodyctl adduser admin@localhost
Enter new password: ******
Retype new password: ******
>>> prosodyctl register guest localhost ******
>>> prosodyctl reload
```
[1]: https://prosody.im/