Giter Site home page Giter Site logo

azhinu / ansible-synapse-compose Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 170 KB

Ansible playbook and roles which used to deploy Synapse server with Coturn and LDAP auth.

Jinja 100.00%
ansible ansible-role ansible-playbook awx awx-ansible synapse matrix matrix-synapse coturn-docker openldap

ansible-synapse-compose's Introduction

Ansible playbook: Matrix-Synapse docker-compose

This playbook install Matrix-Synapse bundle with docker-compose. Playbook contains following roles:

  • Docker
  • Matrix-Synaspse with PostgreSQL
  • Coturn server
  • OpenLDAP with phpLDAPadmin
  • Nginx proxy

All roles can be applied separately.

Coturn server

Coturn needs to allow users make calls with Element through internet. Coturn server should be available from internet. If all users will be in same private network, you shouldn't use Coturn.

To use coturn set coturn_enabled: true

Coturn will be installed at Nginx host.

OpenLDAP

OpenLDAP using to manage Matrix-Synaspse users.

To use this role fill OpenLDAP vars in inventory and use ldap_enabled: true

Nginx

Nginx provide a secure access to Synapse and phpLDAPadmin and Element as an option. Nginx role can automatically obtain TLS certs with Certbot or use existing certs.

Installation

  1. Prepair your servers. Synapse, OpenLDAP and Nginx should be in a same secure network (e.g VPN). Synapse required 5432 (psql) and 8008 port available. LDAP required 381 and 8110 ports available. Nginx required 80 and 443 ports available.
  2. Fill inventory, using inventory/hosts_sample.yaml as example. (Example inventory contains default variables.)
  3. Run Ansible-Playbook with setup.yaml

All credentials will be shown after successful deployment. To run role again put creds to the inventory vars.

Run Ansible-Playbook with update.yaml to update services.

ansible-synapse-compose's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.