forked from Mirroring/github-release-notifier
🔧 Use mailpit instead mailhog
Adjust ofelia crontime to avoid reach Github API limits
This commit is contained in:
2
conf.ini
2
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
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user