Просмотр исходного кода

postmoogle: feedback

pull/2043/head
Aine 3 лет назад
Родитель
Сommit
4a08ae200e
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 34969C908CCA2804
2 измененных файлов: 7 добавлений и 3 удалений
  1. +6
    -2
      roles/matrix-bot-postmoogle/defaults/main.yml
  2. +1
    -1
      roles/matrix-bot-postmoogle/templates/systemd/matrix-bot-postmoogle.service.j2

+ 6
- 2
roles/matrix-bot-postmoogle/defaults/main.yml Просмотреть файл

@@ -88,14 +88,18 @@ matrix_bot_postmoogle_federation: false
matrix_bot_postmoogle_sentry: ''

# Log level
matrix_bot_postmoogle_loglevel: ''
matrix_bot_postmoogle_loglevel: 'INFO'

# Disable encryption
matrix_bot_postmoogle_noencryption: false

matrix_bot_postmoogle_domain: "{{ matrix_server_fqn_matrix }}"

matrix_bot_postmoogle_port: "25"
# in-container port
matrix_bot_postmoogle_port: '2525'

# on-host port
matrix_bot_postmoogle_smtp_host_bind_port: '25'

# Additional environment variables to pass to the postmoogle container
#


+ 1
- 1
roles/matrix-bot-postmoogle/templates/systemd/matrix-bot-postmoogle.service.j2 Просмотреть файл

@@ -23,7 +23,7 @@ ExecStart={{ matrix_host_command_docker }} run --rm --name matrix-bot-postmoogle
--read-only \
--network={{ matrix_docker_network }} \
--env-file={{ matrix_bot_postmoogle_config_path }}/env \
-p {{ matrix_bot_postmoogle_port }}:{{ matrix_bot_postmoogle_port }} \
-p {{ matrix_bot_postmoogle_smtp_host_bind_port }}:{{ matrix_bot_postmoogle_port }} \
--mount type=bind,src={{ matrix_bot_postmoogle_data_path }},dst=/data \
{% for arg in matrix_bot_postmoogle_container_extra_arguments %}
{{ arg }} \


Загрузка…
Отмена
Сохранить