Stop running synapse as root
This commit is contained in:
parent
310feaf332
commit
3ddfd77bdf
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- SYNAPSE_CONFIG_PATH=/etc/homeserver.yaml
|
- SYNAPSE_CONFIG_PATH=/etc/homeserver.yaml
|
||||||
- SYNAPSE_REPORT_STATS=yes
|
- SYNAPSE_REPORT_STATS=yes
|
||||||
- UID=0
|
- UID={{ docker_user.id }}
|
||||||
- GID=0
|
- GID={{ docker_user.id }}
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ app_data_dir }}/synapse/homeserver.yaml:/etc/homeserver.yaml"
|
- "{{ app_data_dir }}/synapse/homeserver.yaml:/etc/homeserver.yaml"
|
||||||
- "{{ app_data_dir }}/synapse:/data"
|
- "{{ app_data_dir }}/synapse:/data"
|
||||||
|
|
Loading…
Reference in a new issue