1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-30 17:50:04 +02:00

Updated Docker (markdown)

Nick Sweeting
2019-02-13 17:05:49 -05:00
parent a2fb24197c
commit 618d127d36

@@ -60,7 +60,7 @@ To pass configuration parameters, you can use the env command.
echo 'https://example.com' | docker run -i -v archivebox-data:/data archivebox env FETCH_SCREENSHOT=False /bin/archive echo 'https://example.com' | docker run -i -v archivebox-data:/data archivebox env FETCH_SCREENSHOT=False /bin/archive
``` ```
Or you can define an `ArchiveBox.env` file and pass it in like so: Or you can create an `ArchiveBox.env` file (copy from the default `etc/ArchiveBox.conf.default`) and pass it in like so:
```bash ```bash
docker run -i -v --env-file=ArchiveBox.env archivebox /bin/archive ... docker run -i -v --env-file=ArchiveBox.env archivebox /bin/archive ...
``` ```