diff --git a/.dockerignore b/.dockerignore index 08408d22..27ad7a81 100644 --- a/.dockerignore +++ b/.dockerignore @@ -28,4 +28,5 @@ assets/ docker/ data/ +data*/ output/ diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 7224eee9..d90ccf6c 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -30,5 +30,4 @@ formats: # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html python: install: - - requirements: requirements.txt - - requirements: docs/requirements.txt \ No newline at end of file + - requirements: docs/requirements.txt diff --git a/Dockerfile b/Dockerfile index 72259949..4a6cc4b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -294,9 +294,8 @@ WORKDIR "$DATA_DIR" VOLUME "$DATA_DIR" EXPOSE 8000 -# Optional: -# HEALTHCHECK --interval=30s --timeout=20s --retries=15 \ -# CMD curl --silent 'http://localhost:8000/admin/login/' || exit 1 +HEALTHCHECK --interval=30s --timeout=20s --retries=15 \ + CMD curl --silent 'http://localhost:8000/health/' | grep -q 'OK' ENTRYPOINT ["dumb-init", "--", "/app/bin/docker_entrypoint.sh"] CMD ["archivebox", "server", "--quick-init", "0.0.0.0:8000"] diff --git a/README.md b/README.md index f298e392..a961cb47 100644 --- a/README.md +++ b/README.md @@ -408,7 +408,7 @@ See below for usage examples using the CLI, W > *Warning: These are contributed by external volunteers and may lag behind the official `pip` channel.*