1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-31 02:00:05 +02:00

Updated Docker (markdown)

Nick Sweeting
2019-02-26 21:00:20 -05:00
parent 0589ecf67e
commit e727a5e471

@@ -106,7 +106,9 @@ docker run -v archivebox-data:/data archivebox /bin/archive 'https://example.com
If you used the named docker volume `archivebox-data` as shown in the examples above, you can access the data here:
`/var/lib/docker/volumes/archivebox-data/_data`
If you want to use a local folder for data instead of using a named docker volume, replace the `-v archivebox-data:/data` flag in the commands above with `--mount type=bind,source=/your/data/folder/on/host,target=/data`.
If you want to use a local folder for data instead of using a named docker volume, replace the named volume mount flag in the commands above with a directory bind mount.
Replace this: `-v archivebox-data:/data`
With this: `--mount type=bind,source=/your/data/folder/on/host,target=/data`.
## Configuration
To pass configuration parameters, you can use the env command.