Skip to content

andreicenja/eea.docker.matrix.mxisd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker image for MXISD Federated Matrix Identity Server

Docker image for https://github.com/kamax-io/mxisd with added EEA LDAP configurations.

Usage

Example docker-compose:

  identity:
    image: eeacms/matrix-mxisd
    restart: always
    volumes:
      - ./data/mxisd/etc:/etc/mxisd
      - ./data/mxisd/var:/var/mxisd
    ports:
      - 18290:8090
    environment:
      MATRIX_DOMAIN: public-url
      LDAP_HOST: host
      LDAP_BINDDN: ddn
      LDAP_BINDDN_PASS: pass
      LDAP_BASEDN: basedn
      LDAP_PORT: port
      LDAP_TLS: 'true'

Supported environment variables

  • MATRIX_DOMAIN - The public url of matrix, used in federation and under which every user is saved
  • LDAP_HOST - LDAP hostname/ip
  • LDAP_PORT - LDAP port
  • LDAP_TLS - true/false
  • LDAP_BINDDN - The DN for the user to read from LDAP ( must have access to emails)
  • LDAP_BINDDN_PASS - The password for the user to read from LDAP
  • LDAP_FILTER - Filter for LDAP users
  • LDAP_BASEDN - LDAP BASE DN to give access to users
  • JAVA_OPTS - Extra Java OPTS

To configure email

  • IDENTITY_EMAIL_FROM - Invitation sending sender address
  • IDENTITY_EMAIL_NAME - Invitation sending sender name
  • SMTP_HOST - Used SMTP_HOST
  • SMTP_PORT - Used SMTP_PORT
  • MXISD_RIOT_URL - Url used in invitation to Riot Web

To configure Integration as an Application Service

This is used to be able to send invitation emails to users that have not yet logged in. All the variables values must be the same as used on the Matrix homeserver.

  • HOMESERVER_MXISD_TOKEN - Matrix synapse appservice-mxisd HS token
  • HOMESERVER_MXISD_AS_TOKEN - Matrix synapse appservice-mxisd AS token
  • POSTGRES_DBNAME - Matrix synapse database name
  • POSTGRES_DBUSER - Matrix synapse database user
  • POSTGRES_DBPASS - Matrix synapse database password

Copyright and license

The Initial Owner of the Original Code is European Environment Agency (EEA). All Rights Reserved.

The Original Code is free software; you can redistribute it and/or modify it under the terms of the Apache License as published by the Apache Software Foundation (ASF); either version 2 of the License, or (at your option) any later version.

Funding

European Environment Agency (EU)

About

Dockerfile for installation of mxisd for Matrix EEA

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 93.1%
  • Dockerfile 6.9%