1
0
Fork 0

add link to docker config details

This commit is contained in:
Nick Sweeting 2021-04-23 22:48:30 -04:00
parent 2d7c81f6dc
commit 1cdd2bf496

View file

@ -409,13 +409,6 @@ Inside each Snapshot folder, ArchiveBox save these different types of extractor
It does everything out-of-the-box by default, but you can disable or tweak [individual archive methods](https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration) via environment variables / config. It does everything out-of-the-box by default, but you can disable or tweak [individual archive methods](https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration) via environment variables / config.
```bash
# archivebox config --help
archivebox config # see all currently configured options
archivebox config --set SAVE_ARCHIVE_DOT_ORG=False
archivebox config --set GIT_ARGS='--recursive'
```
<br/> <br/>
## Configuration ## Configuration
@ -426,10 +419,15 @@ ArchiveBox can be configured via environment variables, by using the `archivebox
archivebox config # view the entire config archivebox config # view the entire config
archivebox config --get CHROME_BINARY # view a specific value archivebox config --get CHROME_BINARY # view a specific value
archivebox config --set CHROME_BINARY=chromium # set a config value archivebox config --set CHROME_BINARY=chromium # persist a config using CLI
env CHROME_BINARY=chromium archivebox add ... # set a value temporarily # OR
echo CHROME_BINARY=chromium >> ArchiveBox.conf # persist a config using file
# OR
env CHROME_BINARY=chromium archivebox ... # run with a one-off config
``` ```
<sup>These methods also work the same way when run inside Docker, see the <a href="https://github.com/ArchiveBox/ArchiveBox/wiki/Docker#configuration">Docker Configuration</a> wiki page for details.</sup>
**The config loading logic with all the options defined is here: [`archivebox/config.py`](https://github.com/ArchiveBox/ArchiveBox/blob/master/archivebox/config.py).** **The config loading logic with all the options defined is here: [`archivebox/config.py`](https://github.com/ArchiveBox/ArchiveBox/blob/master/archivebox/config.py).**
Most options are also documented on the **[Configuration Wiki page](https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration)**. Most options are also documented on the **[Configuration Wiki page](https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration)**.