feat: add subscription auto-sync, node pools, docker deployment docs

This commit is contained in:
root
2026-03-31 06:59:40 +08:00
commit de558019bf
16 changed files with 70598 additions and 0 deletions

21
Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
FROM python:3.13-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends curl unzip && rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY main.py .
COPY start.sh .
RUN chmod +x start.sh
RUN mkdir -p config data bin
EXPOSE 8080
HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
CMD curl -sf http://127.0.0.1:8080/api/links || exit 1
CMD ["python", "main.py"]