Matrix Docker Ansible eploy
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 

85 行
5.0 KiB

  1. {#
  2. SPDX-FileCopyrightText: 2026 Slavi Pantaleev
  3. SPDX-License-Identifier: AGPL-3.0-or-later
  4. #}
  5. {#
  6. Note: this template is rendered, parsed as YAML, merged with
  7. `matrix_bot_meowlnir_configuration_extension`, and dumped again.
  8. Comments written here therefore do not reach the final configuration file.
  9. Secrets must always be rendered explicitly. Meowlnir re-runs its configuration
  10. upgrader in memory on every start, so a literal `generate` value would produce a
  11. brand new secret on each restart.
  12. #}
  13. homeserver:
  14. address: {{ matrix_bot_meowlnir_config_homeserver_address | to_json }}
  15. domain: {{ matrix_bot_meowlnir_config_homeserver_domain | to_json }}
  16. meowlnir:
  17. id: {{ matrix_bot_meowlnir_appservice_id | to_json }}
  18. as_token: {{ matrix_bot_meowlnir_appservice_token | to_json }}
  19. hs_token: {{ matrix_bot_meowlnir_homeserver_token | to_json }}
  20. address: {{ matrix_bot_meowlnir_appservice_url | to_json }}
  21. hostname: {{ matrix_bot_meowlnir_config_meowlnir_hostname | to_json }}
  22. port: {{ matrix_bot_meowlnir_config_meowlnir_port | int }}
  23. management_secret: {{ matrix_bot_meowlnir_config_meowlnir_management_secret | to_json }}
  24. data_secret: {{ matrix_bot_meowlnir_config_meowlnir_data_secret | to_json }}
  25. federation_auth: {{ matrix_bot_meowlnir_config_meowlnir_federation_auth | to_json }}
  26. dry_run: {{ matrix_bot_meowlnir_config_meowlnir_dry_run | to_json }}
  27. untrusted: {{ matrix_bot_meowlnir_config_meowlnir_untrusted | to_json }}
  28. report_room: {{ matrix_bot_meowlnir_config_meowlnir_report_room | to_json if matrix_bot_meowlnir_config_meowlnir_report_room else 'null' }}
  29. room_ban_room: {{ matrix_bot_meowlnir_config_meowlnir_room_ban_room | to_json if matrix_bot_meowlnir_config_meowlnir_room_ban_room else 'null' }}
  30. load_all_room_hashes: {{ matrix_bot_meowlnir_config_meowlnir_load_all_room_hashes | to_json }}
  31. hacky_rule_filter: {{ matrix_bot_meowlnir_config_meowlnir_hacky_rule_filter | to_json }}
  32. hacky_redact_patterns: {{ matrix_bot_meowlnir_config_meowlnir_hacky_redact_patterns | to_json }}
  33. admin_tokens: {{ matrix_bot_meowlnir_config_meowlnir_admin_tokens | to_json }}
  34. meowlnir4all:
  35. admin_room: {{ matrix_bot_meowlnir_config_meowlnir4all_admin_room | to_json if matrix_bot_meowlnir_config_meowlnir4all_admin_room else 'null' }}
  36. localpart_template: {{ matrix_bot_meowlnir_config_meowlnir4all_localpart_template | to_json }}
  37. displayname: {{ matrix_bot_meowlnir_config_meowlnir4all_displayname | to_json if matrix_bot_meowlnir_config_meowlnir4all_displayname else 'null' }}
  38. avatar_url: {{ matrix_bot_meowlnir_config_meowlnir4all_avatar_url | to_json if matrix_bot_meowlnir_config_meowlnir4all_avatar_url else 'null' }}
  39. room_name: {{ matrix_bot_meowlnir_config_meowlnir4all_room_name | to_json }}
  40. default_watched_lists: {{ matrix_bot_meowlnir_config_meowlnir4all_default_watched_lists | to_json }}
  41. antispam:
  42. secret: {{ matrix_bot_meowlnir_config_antispam_secret | to_json }}
  43. filter_local_invites: {{ matrix_bot_meowlnir_config_antispam_filter_local_invites | to_json }}
  44. auto_reject_invites_token: {{ matrix_bot_meowlnir_config_antispam_auto_reject_invites_token | to_json if matrix_bot_meowlnir_config_antispam_auto_reject_invites_token else 'null' }}
  45. notify_management_room: {{ matrix_bot_meowlnir_config_antispam_notify_management_room | to_json }}
  46. block_invites_to: {{ matrix_bot_meowlnir_config_antispam_block_invites_to | to_json }}
  47. policy_server:
  48. always_redact: {{ matrix_bot_meowlnir_config_policy_server_always_redact | to_json }}
  49. signing_key: {{ matrix_bot_meowlnir_config_policy_server_signing_key | to_json }}
  50. encryption:
  51. enable: {{ matrix_bot_meowlnir_config_encryption_enable | to_json }}
  52. pickle_key: {{ matrix_bot_meowlnir_config_encryption_pickle_key | to_json }}
  53. database:
  54. type: {{ matrix_bot_meowlnir_database_engine | to_json }}
  55. uri: {{ matrix_bot_meowlnir_database_connection_string | to_json }}
  56. max_open_conns: {{ matrix_bot_meowlnir_config_database_max_open_conns | int }}
  57. max_idle_conns: {{ matrix_bot_meowlnir_config_database_max_idle_conns | int }}
  58. max_conn_idle_time: {{ matrix_bot_meowlnir_config_database_max_conn_idle_time | to_json if matrix_bot_meowlnir_config_database_max_conn_idle_time else 'null' }}
  59. max_conn_lifetime: {{ matrix_bot_meowlnir_config_database_max_conn_lifetime | to_json if matrix_bot_meowlnir_config_database_max_conn_lifetime else 'null' }}
  60. synapse_db:
  61. type: postgres
  62. uri: {{ matrix_bot_meowlnir_synapse_database_uri | to_json }}
  63. max_open_conns: {{ matrix_bot_meowlnir_config_synapse_db_max_open_conns | int }}
  64. max_idle_conns: {{ matrix_bot_meowlnir_config_synapse_db_max_idle_conns | int }}
  65. max_conn_idle_time: {{ matrix_bot_meowlnir_config_synapse_db_max_conn_idle_time | to_json if matrix_bot_meowlnir_config_synapse_db_max_conn_idle_time else 'null' }}
  66. max_conn_lifetime: {{ matrix_bot_meowlnir_config_synapse_db_max_conn_lifetime | to_json if matrix_bot_meowlnir_config_synapse_db_max_conn_lifetime else 'null' }}
  67. logging:
  68. min_level: {{ matrix_bot_meowlnir_config_logging_min_level | to_json }}
  69. writers: {{ matrix_bot_meowlnir_config_logging_writers | to_json }}