mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-27 19:38:29 +01:00
410a915a8a
This paves the way for installing other roles into `roles/galaxy` using `ansible-galaxy`, similar to how it's done in: - https://github.com/spantaleev/gitea-docker-ansible-deploy - https://github.com/spantaleev/nextcloud-docker-ansible-deploy In the near future, we'll be removing a lot of the shared role code from here and using upstream roles for it. Some of the core `matrix-*` roles have already been extracted out into other reusable roles: - https://github.com/devture/com.devture.ansible.role.postgres - https://github.com/devture/com.devture.ansible.role.systemd_docker_base - https://github.com/devture/com.devture.ansible.role.timesync - https://github.com/devture/com.devture.ansible.role.vars_preserver - https://github.com/devture/com.devture.ansible.role.playbook_runtime_messages - https://github.com/devture/com.devture.ansible.role.playbook_help We just need to migrate to those.
54 lines
2.3 KiB
YAML
54 lines
2.3 KiB
YAML
---
|
|
# Project source code URL: https://github.com/devture/email2matrix
|
|
|
|
matrix_email2matrix_enabled: true
|
|
|
|
matrix_email2matrix_base_path: "{{ matrix_base_data_path }}/email2matrix"
|
|
matrix_email2matrix_config_dir_path: "{{ matrix_email2matrix_base_path }}/config"
|
|
matrix_email2matrix_docker_src_files_path: "{{ matrix_email2matrix_base_path }}/docker-src"
|
|
|
|
matrix_email2matrix_container_image_self_build: false
|
|
matrix_email2matrix_container_image_self_build_repo: "https://github.com/devture/email2matrix.git"
|
|
matrix_email2matrix_container_image_self_build_branch: "{{ matrix_email2matrix_version }}"
|
|
|
|
matrix_email2matrix_version: 1.1.0
|
|
matrix_email2matrix_docker_image_prefix: "{{ 'localhost/' if matrix_email2matrix_container_image_self_build else matrix_container_global_registry_prefix }}"
|
|
matrix_email2matrix_docker_image: "{{ matrix_email2matrix_docker_image_prefix }}devture/email2matrix:{{ matrix_email2matrix_version }}"
|
|
matrix_email2matrix_docker_image_force_pull: "{{ matrix_email2matrix_docker_image.endswith(':latest') }}"
|
|
|
|
# A list of extra arguments to pass to the container
|
|
matrix_email2matrix_container_extra_arguments: []
|
|
|
|
# List of systemd services that matrix-corporal.service depends on
|
|
matrix_email2matrix_systemd_required_services_list: ['docker.service']
|
|
|
|
# Controls where the matrix-email2matrix container exposes the SMTP (tcp/2525 in the container).
|
|
#
|
|
# Takes an "<ip>:<port>" or "<port>" value (e.g. "127.0.0.1:2525").
|
|
#
|
|
# By default, we listen on port 25 on all of the host's network interfaces.
|
|
matrix_email2matrix_smtp_host_bind_port: "25"
|
|
|
|
matrix_email2matrix_smtp_hostname: "{{ matrix_server_fqn_matrix }}"
|
|
|
|
# A list of mailbox to Matrix mappings.
|
|
#
|
|
# Example:
|
|
# matrix_email2matrix_matrix_mappings:
|
|
# - MailboxName: "mailbox1"
|
|
# MatrixRoomId: "!bpcwlxIUxVvvgXcbjy:example.com"
|
|
# MatrixHomeserverUrl: "{{ matrix_homeserver_url }}"
|
|
# MatrixUserId": "@email2matrix:{{ matrix_domain }}"
|
|
# MatrixAccessToken": "TOKEN_HERE"
|
|
# IgnoreSubject: false
|
|
#
|
|
# - MailboxName: "mailbox2"
|
|
# MatrixRoomId: "!another:example.com"
|
|
# MatrixHomeserverUrl: "{{ matrix_homeserver_url }}"
|
|
# MatrixUserId": "@email2matrix:{{ matrix_domain }}"
|
|
# MatrixAccessToken": "TOKEN_HERE"
|
|
# IgnoreSubject: true
|
|
matrix_email2matrix_matrix_mappings: []
|
|
|
|
matrix_email2matrix_misc_debug: false
|