mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-25 13:40:20 +00:00
add link to docker config details
This commit is contained in:
parent
2d7c81f6dc
commit
1cdd2bf496
1 changed files with 7 additions and 9 deletions
16
README.md
16
README.md
|
@ -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.
|
||||
|
||||
```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/>
|
||||
|
||||
## Configuration
|
||||
|
@ -426,10 +419,15 @@ ArchiveBox can be configured via environment variables, by using the `archivebox
|
|||
archivebox config # view the entire config
|
||||
archivebox config --get CHROME_BINARY # view a specific value
|
||||
|
||||
archivebox config --set CHROME_BINARY=chromium # set a config value
|
||||
env CHROME_BINARY=chromium archivebox add ... # set a value temporarily
|
||||
archivebox config --set CHROME_BINARY=chromium # persist a config using CLI
|
||||
# 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).**
|
||||
|
||||
Most options are also documented on the **[Configuration Wiki page](https://github.com/ArchiveBox/ArchiveBox/wiki/Configuration)**.
|
||||
|
|
Loading…
Reference in a new issue