Sign inSign up

ungleich/ungleich-matrix-synapse

By ungleich

•Updated about 5 years ago

Image
0

1.3K

ungleich/ungleich-matrix-synapse repository overview

⁠Introduction

This image provides an easy way to add a postgres database configuration for synapse. It uses the matrix synapse docker image⁠ as a base and adds checking for the following variables:

  • SYNAPSE_CONFIG_DIR: where to generate the postgres-db.yaml
  • POSTGRES_USER: the postgres user
  • POSTGRES_PASSWORD: the postgres password
  • POSTGRES_DB: the postgres database
  • POSTGRES_HOST: the postgres host

⁠How to use it from docker

docker run \
    -e SYNAPSE_CONFIG_DIR=/config \
    -e POSTGRES_USER=matrix-synapse \
    -e POSTGRES_PASSWORD=reallyreallysecure \
    -e POSTGRES_DB=matrix-synapse \
    -e POSTGRES_HOST=postgres-container

All arguments specified on the matrixdotorg/synapse⁠ are also valid/passed through.

Tag summary

Content type

Image

Digest

Size

100.9 MB

Last updated

about 5 years ago

docker pull ungleich/ungleich-matrix-synapse