mirror of
https://github.com/SaraSmiseth/prosody.git
synced 2025-01-18 13:10:37 +00:00
readme: dns
This commit is contained in:
parent
9da112dc1f
commit
86da996ff3
1 changed files with 23 additions and 12 deletions
35
readme.md
35
readme.md
|
@ -20,10 +20,11 @@ While Conversations got everything set-up out-of-the-box, Gajim was used with th
|
|||
- [Ports](#ports)
|
||||
- [Directories](#directories)
|
||||
- [Run](#run)
|
||||
- [Extend](#extend)
|
||||
- [Configuration](#configuration)
|
||||
- [DNS](#dns)
|
||||
- [server_contact_info](#server_contact_info)
|
||||
- [Debugging](#debugging)
|
||||
- [Extend](#extend)
|
||||
- [Upgrade](#upgrade)
|
||||
- [Test your server](#test-your-server)
|
||||
|
||||
|
@ -86,7 +87,7 @@ services:
|
|||
- "5269:5269"
|
||||
- "5281:5281"
|
||||
environment:
|
||||
DOMAIN: your.domain.com
|
||||
DOMAIN: domain.tld
|
||||
volumes:
|
||||
- ./privkey.pem:/usr/local/etc/prosody/certs/prosody.key
|
||||
- ./fullchain.pem:/usr/local/etc/prosody/certs/prosody.crt
|
||||
|
@ -98,18 +99,18 @@ Boot it via: ```docker-compose up -d```
|
|||
|
||||
Inspect logs: ```docker-compose logs -f```
|
||||
|
||||
### Extend
|
||||
|
||||
There is a helper script that eases installing additional prosody modules: ```docker-prosody-module-install```
|
||||
|
||||
It downloads the current [prosody-modules](https://hg.prosody.im/prosody-modules/) repository. The specified modules are copied and its name is added to the ```modules_enabled``` variable within ```conf.d/01-modules.cfg.lua```.
|
||||
|
||||
There is also ```docker-prosody-module-copy``` which copies the specified modules but does not add them to the ```modules_enabled``` variable within ```conf.d/01-modules.cfg.lua```.
|
||||
|
||||
If you need additional configuration just overwrite the respective _cfg.lua_ file or add new ones.
|
||||
|
||||
### Configuration
|
||||
|
||||
#### DNS
|
||||
|
||||
You need these dns record pointing to your server:
|
||||
|
||||
* domain.tld
|
||||
* conference.domain.tld
|
||||
* proxy.domain.tld
|
||||
|
||||
where domain.tld is the environment variable DOMAIN.
|
||||
|
||||
#### server_contact_info
|
||||
|
||||
This module lets you advertise various contact addresses for your XMPP service via XEP-0157.
|
||||
|
@ -142,6 +143,16 @@ log = {
|
|||
};
|
||||
```
|
||||
|
||||
### Extend
|
||||
|
||||
There is a helper script that eases installing additional prosody modules: ```docker-prosody-module-install```
|
||||
|
||||
It downloads the current [prosody-modules](https://hg.prosody.im/prosody-modules/) repository. The specified modules are copied and its name is added to the ```modules_enabled``` variable within ```conf.d/01-modules.cfg.lua```.
|
||||
|
||||
There is also ```docker-prosody-module-copy``` which copies the specified modules but does not add them to the ```modules_enabled``` variable within ```conf.d/01-modules.cfg.lua```.
|
||||
|
||||
If you need additional configuration just overwrite the respective _cfg.lua_ file or add new ones.
|
||||
|
||||
### Upgrade
|
||||
|
||||
When migrating from 0.10, you need to update the database once:
|
||||
|
|
Loading…
Reference in a new issue