bellingcat / auto-archiver

Automatically archive links to videos, images, and social media content from Google Sheets (and more).
https://pypi.org/project/auto-archiver/
MIT License
489 stars 53 forks source link

Add configs for path to write and read wacz archives #93

Closed liliakai closed 9 months ago

liliakai commented 10 months ago

To support running browstrix in docker while also running the auto-archiver(api) in docker, we add separate configs for where browsertrix writes the archives and where the wacz enricher reads the archives, because one is relative to the host and one is relative to the container, even though they may refer to the same volume.

liliakai commented 9 months ago

Perhpas these configs should be environment variables instead, so one could set them directly from a docker compose file, reducing the amount of configuration needed. What do you think @msramalho ?

msramalho commented 9 months ago

Although I'm wary of using both env and configs, since these are only used when running in docker I think env variables make sense, perhaps we could later on have a docker-compose with everything setup (volumes and env vars).