• 1 Post
  • 25 Comments
Joined 2 months ago
cake
Cake day: January 22nd, 2026

help-circle

  • I tried to set it up the other day and failed as well. Looking at their docker-compose examples for reverse proxy, there are a lot of environment variables not included in their original example. After adding all those variables, the container started with a message about first registration.

    I haven’t tested more than that yet.

    EDIT: Added it to my reverse proxy and was able to create the first account via Element.



















  • If you like compose files: https://www.composerize.com/

    docker run -it --rm -v <your-data-path>:/data -e SYNAPSE_SERVER_NAME=<your-public-address-subdomain> -e SYNAPSE_REPORT_STATS=no matrixdotorg/synapse:v1.136.0 generate:

    name: <your project name>
    services:
        synapse:
            stdin_open: true
            tty: true
            volumes:
                - <your-data-path>:/data
            environment:
                - SYNAPSE_SERVER_NAME=<your-public-address-subdomain>
                - SYNAPSE_REPORT_STATS=no
            image: matrixdotorg/synapse:v1.136.0
            command: generate
    

    docker run -d --restart=always --name synapse -e SYNAPSE_REPORT_STATS=no -v <your-data-path>:/data -p 8008:8008 matrixdotorg/synapse:v1.136.0:

    name: <your project name>
    services:
        synapse:
            restart: always
            container_name: synapse
            environment:
                - SYNAPSE_REPORT_STATS=no
            volumes:
                - <your-data-path>:/data
            ports:
                - 8008:8008
            image: matrixdotorg/synapse:v1.136.0