🔧 Use mailpit instead mailhog

Adjust ofelia crontime to avoid reach Github API limits
This commit is contained in:
2023-12-30 00:39:31 +01:00
parent e57d9cf656
commit 68fd6e78d9
3 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
[config] [config]
github_api_url = https://api.github.com/repos/ github_api_url = https://api.github.com/repos/
smtp_port = 1025 smtp_port = 1025
smtp_server = mailhog smtp_server = mailpit
sender_email = sender@host.eu sender_email = sender@host.eu
receiver_email = receiver@anotherhost.eu receiver_email = receiver@anotherhost.eu

View File

@@ -8,8 +8,8 @@ services:
volumes: volumes:
- ./conf.ini:/app/conf.ini - ./conf.ini:/app/conf.ini
mailhog: mailpit:
image: mailhog/mailhog:v1.0.1 image: axllent/mailpit
ports: ports:
- "8025:8025" - "8025:8025"
- "1025:1025" - "1025:1025"

View File

@@ -1,9 +1,9 @@
[global] [global]
smtp-host = mailhog smtp-host = mailpit
smtp-port = 1025 smtp-port = 1025
email-to = max@ence.fr email-to = max@ence.fr
email-from = ofelia@container.sh email-from = ofelia@container.sh
[job-run "notifier"] [job-run "notifier"]
schedule = @every 10s schedule = @every 30s
container = github-release-notifier container = github-release-notifier