Matrix Docker Ansible eploy
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

84 wiersze
3.8 KiB

  1. ---
  2. # chatgpt is a bot for chatting to openAI chatgpt matrix bot
  3. # Project source code URL: https://github.com/matrixgpt/matrix-chatgpt-bot
  4. matrix_bot_chatgpt_enabled: true
  5. matrix_bot_chatgpt_container_image_self_build: false
  6. matrix_bot_chatgpt_docker_repo: "https://github.com/matrixgpt/matrix-chatgpt-bot"
  7. matrix_bot_chatgpt_docker_repo_version: "{{ 'latest' if matrix_bot_chatgpt_version == 'latest' else matrix_bot_chatgpt_version }}"
  8. matrix_bot_chatgpt_docker_src_files_path: "{{ matrix_base_data_path }}/chatgpt/docker-src"
  9. matrix_bot_chatgpt_version: 2.2.1
  10. matrix_bot_chatgpt_docker_image: "{{ matrix_bot_chatgpt_docker_image_name_prefix }}matrixgpt/matrix-chatgpt-bot:{{ matrix_bot_chatgpt_version }}"
  11. matrix_bot_chatgpt_docker_image_name_prefix: "{{ 'localhost/' if matrix_bot_chatgpt_container_image_self_build else 'ghcr.io/' }}"
  12. matrix_bot_chatgpt_docker_image_force_pull: "{{ matrix_bot_chatgpt_docker_image.endswith(':latest') }}"
  13. matrix_bot_chatgpt_base_path: "{{ matrix_base_data_path }}/chatgpt"
  14. matrix_bot_chatgpt_config_path: "{{ matrix_bot_chatgpt_base_path }}/config"
  15. matrix_bot_chatgpt_data_path: "{{ matrix_bot_chatgpt_base_path }}/data"
  16. # A list of extra arguments to pass to the container
  17. matrix_bot_chatgpt_container_extra_arguments: []
  18. # List of systemd services that matrix-bot-chatgpt.service depends on
  19. matrix_bot_chatgpt_systemd_required_services_list: ['docker.service']
  20. # List of systemd services that matrix-bot-chatgpt.service wants
  21. matrix_bot_chatgpt_systemd_wanted_services_list: []
  22. # ChatGPT Settings
  23. matrix_bot_chatgpt_openai_api_key: ''
  24. matrix_bot_chatgpt_context: 'thread' # CHATGPT_CONTEXT="thread"
  25. matrix_bot_chatgpt_keyv_backend: 'file'
  26. matrix_bot_chatgpt_keyv_url: ''
  27. matrix_bot_chatgpt_keyv_bot_encryption: false
  28. matrix_bot_chatgpt_keyv_bot_storage: true
  29. # Matrix Static Settings (required, see notes)
  30. # Defaults to "https://matrix.org"
  31. matrix_bot_chatgpt_matrix_homeserver_url: "{{ matrix_homeserver_container_url }}" # MATRIX_HOMESERVER_URL=
  32. # With the @ and :DOMAIN, ie @SOMETHING:DOMAIN, needs to be set, created manually beforehand.
  33. matrix_bot_chatgpt_matrix_bot_username_localpart: 'bot.chatgpt'
  34. matrix_bot_chatgpt_matrix_bot_username: "@{{ matrix_bot_chatgpt_matrix_bot_username_localpart }}:{{ matrix_domain }}" # MATRIX_BOT_USERNAME=
  35. # Set `MATRIX_BOT_PASSWORD` the bot will print an `MATRIX_ACCESS_TOKEN` to the terminal
  36. # or https://webapps.stackexchange.com/questions/131056/how-to-get-an-access-token-for-element-riot-matrix
  37. matrix_bot_chatgpt_matrix_access_token: '' # MATRIX_ACCESS_TOKEN=
  38. # Once `MATRIX_BOT_ACCESS_TOKEN` is set this is no longer used.
  39. matrix_bot_chatgpt_matrix_bot_password: '' # MATRIX_BOT_PASSWORD=
  40. # Matrix Configurable Settings Defaults (optional)
  41. matrix_bot_chatgpt_matrix_default_prefix: "!chatgpt " # MATRIX_DEFAULT_PREFIX= Leave prefix blank to reply to all messages, trailing space matters
  42. matrix_bot_chatgpt_matrix_default_prefix_reply: false # MATRIX_DEFAULT_PREFIX_REPLY=
  43. # Matrix Access Control (optional)
  44. matrix_bot_chatgpt_matrix_blacklist: ''
  45. matrix_bot_chatgpt_matrix_whitelist: ':{{ matrix_domain }}'
  46. # Matrix Feature Flags (optional)
  47. matrix_bot_chatgpt_matrix_autojoin: true # MATRIX_AUTOJOIN=true
  48. matrix_bot_chatgpt_matrix_encryption: true # MATRIX_ENCRYPTION=true
  49. matrix_bot_chatgpt_matrix_threads: true # MATRIX_THREADS=true
  50. matrix_bot_chatgpt_matrix_rich_text: true # MATRIX_RICH_TEXT=true
  51. # A list of admins
  52. # Example set of rules:
  53. # matrix_bot_chatgpt_admins:
  54. # - @someone:example.com
  55. # - @another:example.com
  56. # - @bot.*:example.com
  57. # - @*:another.com
  58. # matrix_bot_chatgpt_admins: "{{ [matrix_admin] if matrix_admin else [] }}"
  59. # Log level
  60. # matrix_bot_chatgpt_loglevel: 'INFO'
  61. # Additional environment variables to pass to the chatgpt container
  62. #
  63. # Example:
  64. # matrix_bot_chatgpt_environment_variables_extension: |
  65. # chatgpt_TEXT_DONE=Done
  66. matrix_bot_chatgpt_environment_variables_extension: ''