spantaleev / matrix-docker-ansible-deploy

🐳 Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker
GNU Affero General Public License v3.0
4.78k stars 1.03k forks source link

[Questions] New to Ansible and Matrix #1293

Open Ryu945 opened 3 years ago

Ryu945 commented 3 years ago

1) How do I specify the LAN IP this server is being setup on?

2) Does this LAN IP get used for the purpose of running docker containers or does that have to be specified elsewhere? (Yes, the server has more then one LAN IP)

3) If I am use a Dynamic DNS callled ddns.com so my server would be on website.ddns.com . Matrix server itself would be matrix.website.ddns.com if I understand it correctly. Element web interface would be on element.website.ddns.com. Jitsu would be on jitsu.website.ddns.com . Do I need any special DNS record setup for this or is that handled by the dynamic dns and reverse proxy?

4) If I have a token variable for my dynamic DNS instead of a username and password, do I use that instead or do I have to do something else to make it compatible with tokens?

5) Does ansible automatically setup so that user accounts will be user1@website.ddns.com instead of user1@matrix.website.ddns.com ?

Bergruebe commented 2 years ago

To question 1: You specify all information of your server in the matrix-docker-ansible-deploy/inventory/hosts file, there you can set the IP and the SSH-Port and User.

To question 3: I'm not sure how DDNS handles sub-subdomains. You can see all DNS-settings here. If you server is in your Homenetwork please make sure all port forwarding are set correctly.

To question 4: I'm not sure, what you mean with your question. Edit: I just saw the option for Dynamic DNS. But I don't use it, so I can't help you there.

To question 5: Yes, the username will be @[User]:[Basedomain]. Maybe this FAQ could help you.