Initial public release — Inspector v0.7.0
Docker-watchdog with per-container restart rules, Gotify/Pushover notifications, and an embedded dashboard + web settings page. See README.md for an overview and INSTALL.md for the Docker quickstart.
This commit is contained in:
commit
ea1103f52b
35 files changed
+5579
No files matched your search
Executable
+27
@@ -0,0 +1,27 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
ENV PYTHONDONTWRITEBYTECODE=1 \
|
||||
PYTHONUNBUFFERED=1 \
|
||||
PIP_NO_CACHE_DIR=1 \
|
||||
PIP_DISABLE_PIP_VERSION_CHECK=1
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt /app/requirements.txt
|
||||
RUN pip install --no-cache-dir -r /app/requirements.txt
|
||||
|
||||
COPY src/ /app/src/
|
||||
RUN chmod -R a+rX /app/src
|
||||
|
||||
ENV PYTHONPATH=/app/src
|
||||
|
||||
ARG INSPECTOR_UID=1000
|
||||
ARG INSPECTOR_GID=1000
|
||||
RUN groupadd --gid ${INSPECTOR_GID} inspector \
|
||||
&& useradd --uid ${INSPECTOR_UID} --gid inspector --home-dir /app --shell /usr/sbin/nologin inspector \
|
||||
&& mkdir -p /app/logs /app/data \
|
||||
&& chown -R inspector:inspector /app/logs /app/data
|
||||
|
||||
USER inspector
|
||||
|
||||
CMD ["python", "-m", "inspector.main", "--config", "/app/config.yml"]
|
||||
Reference in new issue
Block a user