readme: dns

This commit is contained in:
Sara Aimée Smiseth 2020-05-31 17:53:28 +02:00
parent 9da112dc1f
commit 86da996ff3

View file

@ -20,10 +20,11 @@ While Conversations got everything set-up out-of-the-box, Gajim was used with th
- [Ports](#ports) - [Ports](#ports)
- [Directories](#directories) - [Directories](#directories)
- [Run](#run) - [Run](#run)
- [Extend](#extend)
- [Configuration](#configuration) - [Configuration](#configuration)
- [DNS](#dns)
- [server_contact_info](#server_contact_info) - [server_contact_info](#server_contact_info)
- [Debugging](#debugging) - [Debugging](#debugging)
- [Extend](#extend)
- [Upgrade](#upgrade) - [Upgrade](#upgrade)
- [Test your server](#test-your-server) - [Test your server](#test-your-server)
@ -86,7 +87,7 @@ services:
- "5269:5269" - "5269:5269"
- "5281:5281" - "5281:5281"
environment: environment:
DOMAIN: your.domain.com DOMAIN: domain.tld
volumes: volumes:
- ./privkey.pem:/usr/local/etc/prosody/certs/prosody.key - ./privkey.pem:/usr/local/etc/prosody/certs/prosody.key
- ./fullchain.pem:/usr/local/etc/prosody/certs/prosody.crt - ./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``` 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 ### 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 #### server_contact_info
This module lets you advertise various contact addresses for your XMPP service via XEP-0157. 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 ### Upgrade
When migrating from 0.10, you need to update the database once: When migrating from 0.10, you need to update the database once: