fix health check

This commit is contained in:
Andreas Knuth 2025-12-15 12:20:51 -06:00
parent cca66b7833
commit ad8f032285
3 changed files with 20 additions and 17 deletions

View File

@ -13,8 +13,11 @@ services:
# Python Dependencies installieren und Worker starten
command: >
sh -c "pip install --no-cache-dir boto3 &&
python -u worker.py"
sh -c "apt-get update &&
apt-get install -y --no-install-recommends procps &&
rm -rf /var/lib/apt/lists/* &&
pip install --no-cache-dir boto3 &&
python -u worker.py"
environment:
# ⚠️ WICHTIG: WORKER_DOMAIN muss von außen gesetzt werden!