mirror of
https://github.com/flibusta-apps/telegram_files_cache_server.git
synced 2025-12-06 14:45:36 +01:00
Rewrite to rust
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
import httpx
|
||||
|
||||
|
||||
response = httpx.get("http://localhost:8080/healthcheck")
|
||||
print(f"HEALTHCHECK STATUS: {response.status_code}")
|
||||
exit(0 if response.status_code == 200 else 1)
|
||||
@@ -1,7 +0,0 @@
|
||||
cd /app
|
||||
alembic -c ./app/alembic.ini upgrade head
|
||||
|
||||
rm -rf prometheus
|
||||
mkdir prometheus
|
||||
|
||||
uvicorn main:app --host 0.0.0.0 --port 8080 --loop uvloop
|
||||
Reference in New Issue
Block a user