Stop running synapse as root

This commit is contained in:
Jake Howard 2020-11-22 15:08:08 +00:00
parent 310feaf332
commit 3ddfd77bdf
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -8,8 +8,8 @@ services:
environment:
- SYNAPSE_CONFIG_PATH=/etc/homeserver.yaml
- SYNAPSE_REPORT_STATS=yes
- UID=0
- GID=0
- UID={{ docker_user.id }}
- GID={{ docker_user.id }}
volumes:
- "{{ app_data_dir }}/synapse/homeserver.yaml:/etc/homeserver.yaml"
- "{{ app_data_dir }}/synapse:/data"