mirror of
https://github.com/bellingcat/auto-archiver-api.git
synced 2026-06-11 04:58:33 +03:00
Run browsertrix in docker on the host
Install docker in the container Add a named volume called `browsertrix` Mount the named volume in the worker at /crawls Expose the host docker socket Override the environment variable from auto-archiver's Dockerfile so that it will call docker. This will require setting new configs in orchestration.yaml: wacz_archiver_enricher: browsertrix_home: auto-archiver-api_browsertrix wacz_collections: /crawls
This commit is contained in:
@@ -4,6 +4,8 @@ FROM bellingcat/auto-archiver
|
||||
# set work directory
|
||||
WORKDIR /app
|
||||
|
||||
RUN curl -fsSL https://get.docker.com -o get-docker.sh && \
|
||||
sh get-docker.sh
|
||||
# set environment variables
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
ENV PYTHONDONTWRITEBYTECODE 1
|
||||
|
||||
Reference in New Issue
Block a user