From 040ba754eaa84160d9945d8b4ae3f82729ecfcab Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Mon, 3 Feb 2020 19:55:25 +0100 Subject: [PATCH] Made fetch mail configurable Signed-off-by: Jim Martens --- roles/rt/templates/etc/rt/docker-compose.yml.j2 | 4 ++++ rt_vars.yml.example | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/roles/rt/templates/etc/rt/docker-compose.yml.j2 b/roles/rt/templates/etc/rt/docker-compose.yml.j2 index 896b570..c62d188 100644 --- a/roles/rt/templates/etc/rt/docker-compose.yml.j2 +++ b/roles/rt/templates/etc/rt/docker-compose.yml.j2 @@ -53,6 +53,10 @@ services: - MAIL_HOST={{ rt_mail_host }} - MAIL_USER={{ rt_mail_user }} - MAIL_PASS={{ rt_mail_password }} + - MAIL_FETCH_LOGIN={{ rt_fetch_mail_user }} + - MAIL_FETCH_PASSWORD={{ rt_fetch_mail_password }} + - MAIL_FETCH_FOLDER={{ rt_fetch_folder }} + - MAIL_FETCH_COMMENT_FOLDER={{ rt_fetch_comment_folder }} - MAIL_PORT=587 - CORRESPOND_ADDRESS={{ rt_correspond_address }} - COMMENT_ADDRESS={{ rt_comment_address }} diff --git a/rt_vars.yml.example b/rt_vars.yml.example index 7186091..2d728d6 100644 --- a/rt_vars.yml.example +++ b/rt_vars.yml.example @@ -7,3 +7,7 @@ rt_mail_user: alice rt_mail_pass: unreliable rt_correspond_address: rt@example.com rt_comment_address: rt-comment@example.com +rt_fetch_mail_user: alice +rt_fetch_mail_password: unreliable +rt_fetch_folder: Something +rt_fetch_comment_folder: anotherThing