Matrix Docker Ansible eploy
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 

108 righe
4.3 KiB

  1. # The bare domain name which represents your Matrix identity.
  2. # Matrix user ids for your server will be of the form (`@user:<matrix-domain>`).
  3. #
  4. # Note: this playbook does not touch the server referenced here.
  5. # Installation happens on another server ("matrix.<matrix-domain>", see `matrix_server_fqn_matrix`).
  6. #
  7. # Example value: example.com
  8. matrix_domain: ~
  9. # This is where your data lives and what we set up.
  10. # This and the Element FQN (see below) are expected to be on the same server.
  11. matrix_server_fqn_matrix: "matrix.{{ matrix_domain }}"
  12. # This is where you access the Element web UI from (if enabled via matrix_client_element_enabled; enabled by default).
  13. # This and the Matrix FQN (see above) are expected to be on the same server.
  14. matrix_server_fqn_element: "element.{{ matrix_domain }}"
  15. # This is where you access the Dimension.
  16. matrix_server_fqn_dimension: "dimension.{{ matrix_domain }}"
  17. # This is where you access Jitsi.
  18. matrix_server_fqn_jitsi: "jitsi.{{ matrix_domain }}"
  19. matrix_federation_public_port: 8448
  20. matrix_user_username: "matrix"
  21. matrix_user_groupname: "matrix"
  22. # By default, the playbook creates the user (`matrix_user_username`)
  23. # and group (`matrix_user_groupname`) with a random id.
  24. # To use a specific user/group id, override these variables.
  25. matrix_user_uid: ~
  26. matrix_user_gid: ~
  27. matrix_base_data_path: "/matrix"
  28. matrix_base_data_path_mode: "750"
  29. matrix_static_files_base_path: "{{ matrix_base_data_path }}/static-files"
  30. matrix_systemd_path: "/etc/systemd/system"
  31. matrix_cron_path: "/etc/cron.d"
  32. matrix_local_bin_path: "/usr/local/bin"
  33. matrix_host_command_docker: "/usr/bin/env docker"
  34. matrix_host_command_sleep: "/usr/bin/env sleep"
  35. matrix_host_command_chown: "/usr/bin/env chown"
  36. matrix_host_command_fusermount: "/usr/bin/env fusermount"
  37. matrix_host_command_openssl: "/usr/bin/env openssl"
  38. matrix_host_command_systemctl: "/usr/bin/env systemctl"
  39. matrix_ntpd_package: "ntp"
  40. matrix_ntpd_service: "{{ 'ntpd' if ansible_os_family == 'RedHat' or ansible_distribution == 'Archlinux' else 'ntp' }}"
  41. matrix_homeserver_url: "https://{{ matrix_server_fqn_matrix }}"
  42. matrix_identity_server_url: ~
  43. matrix_integration_manager_rest_url: ~
  44. matrix_integration_manager_ui_url: ~
  45. # The domain name where a Jitsi server is self-hosted.
  46. # If set, `/.well-known/matrix/client` will suggest Element clients to use that Jitsi server.
  47. # See: https://github.com/vector-im/riot-web/blob/develop/docs/jitsi.md#configuring-riot-to-use-your-self-hosted-jitsi-server
  48. matrix_riot_jitsi_preferredDomain: ''
  49. # Controls whether Element should use End-to-End Encryption by default.
  50. # Setting this to false will update `/.well-known/matrix/client` and tell Element clients to avoid E2EE.
  51. # See: https://github.com/vector-im/riot-web/blob/develop/docs/e2ee.md
  52. matrix_riot_e2ee_default: true
  53. # The Docker network that all services would be put into
  54. matrix_docker_network: "matrix"
  55. # Controls whether we'll preserve the vars.yml file on the Matrix server.
  56. # If you have a differently organized inventory, you may wish to disable this feature,
  57. # or to repoint `matrix_vars_yml_snapshotting_src` to the file you'd like to preserve.
  58. matrix_vars_yml_snapshotting_enabled: true
  59. matrix_vars_yml_snapshotting_src: "{{ inventory_dir }}/host_vars/{{ inventory_hostname }}/vars.yml"
  60. # Controls whether a `/.well-known/matrix/server` file is generated and used at all.
  61. #
  62. # If you wish to rely on DNS SRV records only, you can disable this.
  63. # Using DNS SRV records implies that you'll be handling Matrix Federation API traffic (tcp/8448)
  64. # using certificates for the base domain (`matrix_domain`) and not for the
  65. # matrix domain (`matrix_server_fqn_matrix`).
  66. matrix_well_known_matrix_server_enabled: true
  67. # Controls whether Docker is automatically installed.
  68. # If you change this to false you must install and update Docker manually.
  69. matrix_docker_installation_enabled: true
  70. # Controls the Docker package that is installed.
  71. # Possible values are "docker-ce" (default) and "docker.io" (Debian).
  72. matrix_docker_package_name: docker-ce
  73. # Variables to Control which parts of our roles run.
  74. run_postgres_import: true
  75. run_postgres_upgrade: true
  76. run_postgres_import_sqlite_db: true
  77. run_postgres_synapse_janitor: true
  78. run_postgres_vacuum: true
  79. run_synapse_register_user: true
  80. run_synapse_update_user_password: true
  81. run_synapse_import_media_store: true
  82. run_setup: true
  83. run_self_check: true
  84. run_start: true
  85. run_stop: true