Stop running synapse as root
This commit is contained in:
@ -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"
|
||||||
|
Reference in New Issue
Block a user