Ofelia & Docker update

This commit is contained in:
2023-11-26 00:32:51 +01:00
parent 9d5e50c635
commit 08d27d3183
2 changed files with 2 additions and 2 deletions

View File

@@ -9,5 +9,4 @@ COPY notifier.py template.html /app/
COPY conf.ini /app/conf.ini
EXPOSE 80
ENTRYPOINT ["python3", "/app/notifier.py"]
CMD ["uvicorn", "notifier:app", "--host", "0.0.0.0", "--port", "80"]

View File

@@ -4,6 +4,7 @@ smtp-port = 1025
email-to = max@ence.fr
email-from = ofelia@container.sh
[job-run "notifier"]
[job-exec "notifier"]
schedule = @every 30s
container = github-release-notifier
command = python3 /app/notifier.py