mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Better healthcheck
This commit is contained in:
parent
b0f9d7906a
commit
d77813d82f
@ -25,5 +25,6 @@ COPY --from=builder /app /app
|
||||
|
||||
WORKDIR /kyoo
|
||||
EXPOSE 5000
|
||||
HEALTHCHECK --interval=30s CMD curl --fail http://localhost:5000/health || exit
|
||||
# The back can take a long time to start if meilisearch is initializing
|
||||
HEALTHCHECK --interval=5s --retries=15 CMD curl --fail http://localhost:5000/health || exit
|
||||
CMD /app/Kyoo.Host
|
||||
|
Loading…
x
Reference in New Issue
Block a user