Types, types, types...

This commit is contained in:
Kalzu Rekku
2025-06-14 01:19:57 +03:00
parent 44c13c16df
commit c98081d360
7 changed files with 87 additions and 27 deletions

View File

@ -20,6 +20,7 @@ services:
environment:
# Set a fixed SERVICE_UUID here. Replace this with your desired UUID.
# This UUID will be used by the FastAPI app and passed to the frontend.
# !! David, change this !!
SERVICE_UUID: "ab73d00a-8169-46bb-997d-f13e5f760973"
DATA_DIR: "/data" # Inform the application where its data volume is mounted
@ -27,9 +28,9 @@ services:
restart: unless-stopped
# Healthcheck to ensure the container is running and responsive
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
start_period: 5s
retries: 3
#healthcheck:
# test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8000/health"]
# interval: 30s
# timeout: 10s
# start_period: 5s
# retries: 3