Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

87 lines
3.2 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 Riot 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 web UI from and what we set up here.
  13. # This and the Matrix FQN (see above) are expected to be on the same server.
  14. matrix_server_fqn_riot: "riot.{{ 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_user_username: "matrix"
  20. matrix_user_uid: 991
  21. matrix_user_gid: 991
  22. matrix_base_data_path: "/matrix"
  23. matrix_base_data_path_mode: "750"
  24. matrix_static_files_base_path: "{{ matrix_base_data_path }}/static-files"
  25. matrix_systemd_path: "/etc/systemd/system"
  26. matrix_cron_path: "/etc/cron.d"
  27. matrix_local_bin_path: "/usr/local/bin"
  28. matrix_ntpd_package: "ntp"
  29. matrix_ntpd_service: "{{ 'ntpd' if ansible_os_family == 'RedHat' or ansible_distribution == 'Archlinux' else 'ntp' }}"
  30. matrix_homeserver_url: "https://{{ matrix_server_fqn_matrix }}"
  31. matrix_identity_server_url: ~
  32. matrix_integration_manager_rest_url: ~
  33. matrix_integration_manager_ui_url: ~
  34. # The domain name where a Jitsi server is self-hosted.
  35. # If set, `/.well-known/matrix/client` will suggest Riot clients to use that Jitsi server.
  36. # See: https://github.com/vector-im/riot-web/blob/develop/docs/jitsi.md#configuring-riot-to-use-your-self-hosted-jitsi-server
  37. matrix_riot_jitsi_preferredDomain: ''
  38. # The Docker network that all services would be put into
  39. matrix_docker_network: "matrix"
  40. # Controls whether a `/.well-known/matrix/server` file is generated and used at all.
  41. #
  42. # If you wish to rely on DNS SRV records only, you can disable this.
  43. # Using DNS SRV records implies that you'll be handling Matrix Federation API traffic (tcp/8448)
  44. # using certificates for the base domain (`matrix_domain`) and not for the
  45. # matrix domain (`matrix_server_fqn_matrix`).
  46. matrix_well_known_matrix_server_enabled: true
  47. # Controls whether Docker is automatically installed.
  48. # If you change this to false you must install and update Docker manually.
  49. matrix_docker_installation_enabled: true
  50. # Controls the Docker package that is installed.
  51. # Possible values are "docker-ce" (default) and "docker.io" (Debian).
  52. matrix_docker_package_name: docker-ce
  53. # Variables to Control which parts of our roles run.
  54. run_postgres_import: true
  55. run_postgres_upgrade: true
  56. run_postgres_import_sqlite_db: true
  57. run_postgres_synapse_janitor: true
  58. run_postgres_vacuum: true
  59. run_synapse_register_user: true
  60. run_synapse_update_user_password: true
  61. run_synapse_import_media_store: true
  62. run_setup: true
  63. run_self_check: true
  64. run_start: true
  65. run_stop: true
  66. # Building every docker image from source on the target host
  67. # Controlling docker image build is possible on a per unit base
  68. matrix_container_images_self_build: false