From 20524a1cad87f52643bcce403362d06a015f5822 Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 6 Sep 2022 11:46:03 -0400 Subject: [PATCH] Add UID:GID Signed-off-by: Tommy --- docker-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 7c4f721..da2b6df 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,12 +6,14 @@ version: '3' services: synapse: + # Use docker.io/matrixdotorg/synapse:latest if you want the official image (without the Mjolnir module). image: docker pull ghcr.io/tommytran732/synapse:latest - # Altneratively, use docker.io/matrixdotorg/synapse:latest for the official image. # Since synapse does not retry to connect to the database, restart upon # failure restart: unless-stopped container_name: synapse + # Comment out the next line if you are using the official image. + user: "991:991" # See the readme for a full documentation of the environment settings # NOTE: You must edit homeserver.yaml to use postgres, it defaults to sqlite environment: