Fix milestone sharing previews and publisher recovery

This commit is contained in:
2026-08-14 14:33:29 +02:00
parent e7581e488d
commit d8f7202bf6
10 changed files with 265 additions and 43 deletions

View File

@@ -3,4 +3,5 @@ WORKDIR /worker
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY worker.py .
HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 CMD python -c "import os,requests; base=os.environ['QRMASTER_API_BASE'].rstrip('/'); secret=os.environ['INTERNAL_API_SECRET']; requests.get(base + '/api/internal/social-milestones?dryRun=true', headers={'Authorization':'Bearer ' + secret}, timeout=5).raise_for_status()"
CMD ["python", "worker.py"]