Add UID:GID

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2022-09-06 11:46:03 -04:00
parent 10ccbfe6b2
commit 20524a1cad
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2
1 changed files with 3 additions and 1 deletions

View File

@ -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: