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]
|
[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
|
||||||
|
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user