1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-04 21:15:22 +02:00

fix: docker health checks (#2979)

This commit is contained in:
Hayden 2024-01-11 17:11:42 -06:00 committed by GitHub
parent 58df50f624
commit 21c4ba54a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,5 @@
import os
import sys
import requests
@ -14,9 +15,9 @@ def main():
r = requests.get(url)
if r.status_code == 200:
exit(0)
sys.exit(0)
else:
exit(1)
sys.exit(1)
if __name__ == "__main__":