mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-30 17:50:04 +02:00
Updated Docker (markdown)
@@ -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 ...
|
||||||
```
|
```
|
Reference in New Issue
Block a user