Update Docker healthcheck
This commit is contained in:
parent
d8247fec01
commit
c3a11f55b0
3 changed files with 7 additions and 2 deletions
|
|
@ -12,4 +12,5 @@ RUN --mount=type=cache,target=/root/.cache/uv \
|
|||
COPY --chown=botuser:botuser discord_rss_bot/ /home/botuser/discord-rss-bot/discord_rss_bot/
|
||||
EXPOSE 5000
|
||||
VOLUME ["/home/botuser/.local/share/discord_rss_bot/"]
|
||||
HEALTHCHECK --interval=10m --timeout=5s CMD ["uv", "run", "./discord_rss_bot/healthcheck.py"]
|
||||
CMD ["uv", "run", "uvicorn", "discord_rss_bot.main:app", "--host=0.0.0.0", "--port=5000", "--proxy-headers", "--forwarded-allow-ips='*'", "--log-level", "debug"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue