forked from Mirroring/github-release-notifier
Ofelia & Docker update
This commit is contained in:
@@ -9,5 +9,4 @@ COPY notifier.py template.html /app/
|
|||||||
COPY conf.ini /app/conf.ini
|
COPY conf.ini /app/conf.ini
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
ENTRYPOINT ["python3", "/app/notifier.py"]
|
|
||||||
CMD ["uvicorn", "notifier:app", "--host", "0.0.0.0", "--port", "80"]
|
CMD ["uvicorn", "notifier:app", "--host", "0.0.0.0", "--port", "80"]
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ 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-exec "notifier"]
|
||||||
schedule = @every 30s
|
schedule = @every 30s
|
||||||
container = github-release-notifier
|
container = github-release-notifier
|
||||||
|
command = python3 /app/notifier.py
|
||||||
|
|||||||
Reference in New Issue
Block a user