From 68fd6e78d9f4e7501e5ecea7d9e9e3ee37b4c946 Mon Sep 17 00:00:00 2001 From: "Maxence G. de Montauzan" Date: Sat, 30 Dec 2023 00:39:31 +0100 Subject: [PATCH] :wrench: Use mailpit instead mailhog Adjust ofelia crontime to avoid reach Github API limits --- conf.ini | 2 +- docker-compose.yml | 4 ++-- ofelia.ini | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/conf.ini b/conf.ini index 81cebf5..c0867e8 100644 --- a/conf.ini +++ b/conf.ini @@ -1,7 +1,7 @@ [config] github_api_url = https://api.github.com/repos/ smtp_port = 1025 -smtp_server = mailhog +smtp_server = mailpit sender_email = sender@host.eu receiver_email = receiver@anotherhost.eu diff --git a/docker-compose.yml b/docker-compose.yml index 861aa96..4eb8239 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,8 +8,8 @@ services: volumes: - ./conf.ini:/app/conf.ini - mailhog: - image: mailhog/mailhog:v1.0.1 + mailpit: + image: axllent/mailpit ports: - "8025:8025" - "1025:1025" diff --git a/ofelia.ini b/ofelia.ini index 86eb016..808e4a7 100644 --- a/ofelia.ini +++ b/ofelia.ini @@ -1,9 +1,9 @@ [global] -smtp-host = mailhog +smtp-host = mailpit smtp-port = 1025 email-to = max@ence.fr email-from = ofelia@container.sh [job-run "notifier"] -schedule = @every 10s +schedule = @every 30s container = github-release-notifier