This commit is contained in:
Waloshi6
2026-02-08 14:34:23 +01:00
parent 908c25840e
commit 9e68016e8a
3 changed files with 5 additions and 2 deletions

View File

@@ -496,6 +496,7 @@
15:41:07.579359 version@stat F·[0 1] S·577B[0B 577B] Sc·[0.00 0.00] 15:41:07.579359 version@stat F·[0 1] S·577B[0B 577B] Sc·[0.00 0.00]
15:41:07.617133 db@janitor F·3 G·0 15:41:07.617133 db@janitor F·3 G·0
15:41:07.617309 db@open done T·42.89556ms 15:41:07.617309 db@open done T·42.89556ms
<<<<<<< HEAD
=============== Feb 8, 2026 (UTC) =============== =============== Feb 8, 2026 (UTC) ===============
13:10:57.397891 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed 13:10:57.397891 log@legend F·NumFile S·FileSize N·Entry C·BadEntry B·BadBlock Ke·KeyError D·DroppedEntry L·Level Q·SeqNum T·TimeElapsed
13:10:57.432913 version@stat F·[0 1] S·577B[0B 577B] Sc·[0.00 0.00] 13:10:57.432913 version@stat F·[0 1] S·577B[0B 577B] Sc·[0.00 0.00]
@@ -505,3 +506,5 @@
13:10:57.440763 version@stat F·[0 1] S·577B[0B 577B] Sc·[0.00 0.00] 13:10:57.440763 version@stat F·[0 1] S·577B[0B 577B] Sc·[0.00 0.00]
13:10:57.485091 db@janitor F·3 G·0 13:10:57.485091 db@janitor F·3 G·0
13:10:57.485346 db@open done T·49.7959ms 13:10:57.485346 db@open done T·49.7959ms
=======
>>>>>>> 7377c00 (aa)

View File

@@ -22,7 +22,7 @@ COPY --from=base /venv /venv
ENV PATH="/venv/bin:$PATH" ENV PATH="/venv/bin:$PATH"
COPY src/app /app COPY src/app /app
COPY TpDevOpsProject.md /app/TpDevOpsProject.md COPY readme.md /app/readme.md
RUN useradd -m -u 1000 devopsuser && chown -R devopsuser:devopsuser /app RUN useradd -m -u 1000 devopsuser && chown -R devopsuser:devopsuser /app
USER devopsuser USER devopsuser

View File

@@ -42,7 +42,7 @@ async def monitor_requests(request: Request, call_next):
@app.get("/", response_class=HTMLResponse) @app.get("/", response_class=HTMLResponse)
async def home(request: Request): async def home(request: Request):
md_file_path = "/app/TpDevOpsProject.md" md_file_path = "/app/readme.md"
try: try:
with open(md_file_path, "r", encoding="utf-8") as f: with open(md_file_path, "r", encoding="utf-8") as f:
md_content = f.read() md_content = f.read()