Browse Source

Try to make Synapse config/key generation respect uid/gid

Attempt at fixing #268 (Github Issue)
pull/269/head
Slavi Pantaleev 6 years ago
parent
commit
73c90e9513
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      roles/matrix-synapse/tasks/synapse/setup_install.yml

+ 2
- 0
roles/matrix-synapse/tasks/synapse/setup_install.yml View File

@@ -45,6 +45,8 @@
--user={{ matrix_user_uid }}:{{ matrix_user_gid }}
--cap-drop=ALL
-v {{ matrix_synapse_config_dir_path }}:/data
-e UID={{ matrix_user_uid }}
-e GID={{ matrix_user_gid }}
-e SYNAPSE_CONFIG_PATH=/data/homeserver.yaml
-e SYNAPSE_SERVER_NAME={{ matrix_server_fqn_matrix }}
-e SYNAPSE_REPORT_STATS=no


Loading…
Cancel
Save