Matrix Docker Ansible eploy
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 

97 satır
4.7 KiB

  1. # Mx Puppet Steam is a Matrix <-> Steam bridge
  2. # See: https://github.com/matrix-steam/mx-puppet-steam
  3. matrix_mx_puppet_steam_enabled: true
  4. matrix_mx_puppet_steam_container_image_self_build: false
  5. # Controls whether the mx-puppet-steam container exposes its HTTP port (tcp/8432 in the container).
  6. #
  7. # Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:8432"), or empty string to not expose.
  8. matrix_mx_puppet_steam_container_http_host_bind_port: ''
  9. matrix_mx_puppet_steam_docker_image: "{{ matrix_mx_puppet_steam_docker_image_name_prefix }}icewind1991/mx-puppet-steam:latest"
  10. matrix_mx_puppet_steam_docker_image_name_prefix: "{{ 'localhost/' if matrix_mx_puppet_steam_container_image_self_build else 'docker.io/' }}"
  11. matrix_mx_puppet_steam_docker_image_force_pull: "{{ matrix_mx_puppet_steam_docker_image.endswith(':latest') }}"
  12. matrix_mx_puppet_steam_base_path: "{{ matrix_base_data_path }}/mx-puppet-steam"
  13. matrix_mx_puppet_steam_config_path: "{{ matrix_mx_puppet_steam_base_path }}/config"
  14. matrix_mx_puppet_steam_data_path: "{{ matrix_mx_puppet_steam_base_path }}/data"
  15. matrix_mx_puppet_steam_docker_src_files_path: "{{ matrix_mx_puppet_steam_base_path }}/docker-src"
  16. matrix_mx_puppet_steam_appservice_port: "8432"
  17. matrix_mx_puppet_steam_homeserver_address: 'http://matrix-synapse:8008'
  18. matrix_mx_puppet_steam_homeserver_domain: '{{ matrix_domain }}'
  19. matrix_mx_puppet_steam_appservice_address: 'http://matrix-mx-puppet-steam:{{ matrix_mx_puppet_steam_appservice_port }}'
  20. matrix_mx_puppet_steam_client_id: ''
  21. matrix_mx_puppet_steam_client_secret: ''
  22. # "@user:server.com" to allow specific user
  23. # "@.*:yourserver.com" to allow users on a specific homeserver
  24. # "@.*" to allow anyone
  25. matrix_mx_puppet_steam_provisioning_whitelist:
  26. - "@.*:{{ matrix_domain|regex_escape }}"
  27. # Leave empty to disable blacklist
  28. # "@user:server.com" disallow a specific user
  29. # "@.*:yourserver.com" disallow users on a specific homeserver
  30. matrix_mx_puppet_steam_provisioning_blacklist: []
  31. # A list of extra arguments to pass to the container
  32. matrix_mx_puppet_steam_container_extra_arguments: []
  33. # List of systemd services that matrix-puppet-steam.service depends on.
  34. matrix_mx_puppet_steam_systemd_required_services_list: ['docker.service']
  35. # List of systemd services that matrix-puppet-steam.service wants
  36. matrix_mx_puppet_steam_systemd_wanted_services_list: []
  37. matrix_mx_puppet_steam_appservice_token: ''
  38. matrix_mx_puppet_steam_homeserver_token: ''
  39. # Can be set to enable automatic double-puppeting via Shared Secret Auth (https://github.com/devture/matrix-synapse-shared-secret-auth).
  40. matrix_mx_puppet_steam_login_shared_secret: ''
  41. # Default configuration template which covers the generic use case.
  42. # You can customize it by controlling the various variables inside it.
  43. #
  44. # For a more advanced customization, you can extend the default (see `matrix_mx_puppet_steam_configuration_extension_yaml`)
  45. # or completely replace this variable with your own template.
  46. matrix_mx_puppet_steam_configuration_yaml: "{{ lookup('template', 'templates/config.yaml.j2') }}"
  47. matrix_mx_puppet_steam_configuration_extension_yaml: |
  48. # Your custom YAML configuration goes here.
  49. # This configuration extends the default starting configuration (`matrix_mx_puppet_steam_configuration_yaml`).
  50. #
  51. # You can override individual variables from the default configuration, or introduce new ones.
  52. #
  53. # If you need something more special, you can take full control by
  54. # completely redefining `matrix_mx_puppet_steam_configuration_yaml`.
  55. matrix_mx_puppet_steam_configuration_extension: "{{ matrix_mx_puppet_steam_configuration_extension_yaml|from_yaml if matrix_mx_puppet_steam_configuration_extension_yaml|from_yaml is mapping else {} }}"
  56. # Holds the final configuration (a combination of the default and its extension).
  57. # You most likely don't need to touch this variable. Instead, see `matrix_mx_puppet_steam_configuration_yaml`.
  58. matrix_mx_puppet_steam_configuration: "{{ matrix_mx_puppet_steam_configuration_yaml|from_yaml|combine(matrix_mx_puppet_steam_configuration_extension, recursive=True) }}"
  59. matrix_mx_puppet_steam_registration_yaml: |
  60. as_token: "{{ matrix_mx_puppet_steam_appservice_token }}"
  61. hs_token: "{{ matrix_mx_puppet_steam_homeserver_token }}"
  62. id: steam-puppet
  63. namespaces:
  64. users:
  65. - exclusive: true
  66. regex: '@_steampuppet_.*:{{ matrix_mx_puppet_steam_homeserver_domain|regex_escape }}'
  67. rooms: []
  68. aliases:
  69. - exclusive: true
  70. regex: '#_steampuppet_.*:{{ matrix_mx_puppet_steam_homeserver_domain|regex_escape }}'
  71. protocols: []
  72. rate_limited: false
  73. sender_localpart: _steampuppet_bot
  74. url: {{ matrix_mx_puppet_steam_appservice_address }}
  75. matrix_mx_puppet_steam_registration: "{{ matrix_mx_puppet_steam_registration_yaml|from_yaml }}"