mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-25 15:31:22 +02:00
Updated Docker (markdown)
@@ -97,13 +97,13 @@ To add an individual URL, pass it in as an arg or via stdin:
|
|||||||
```bash
|
```bash
|
||||||
docker compose run archivebox add 'https://example.com'
|
docker compose run archivebox add 'https://example.com'
|
||||||
# OR
|
# OR
|
||||||
echo 'https://example.com' | docker compose run archivebox add
|
echo 'https://example.com' | docker compose run -T archivebox add
|
||||||
```
|
```
|
||||||
|
|
||||||
To add multiple URLs at once, pipe them in via stdin, or place them in a file inside `./data/sources` so that ArchiveBox can access it from within the container:
|
To add multiple URLs at once, pipe them in via stdin, or place them in a file inside `./data/sources` so that ArchiveBox can access it from within the container:
|
||||||
```bash
|
```bash
|
||||||
# pipe URLs in from a file outside Docker
|
# pipe URLs in from a file outside Docker
|
||||||
docker compose run archivebox add < ~/Downloads/example_urls.txt
|
docker compose run -T archivebox add < ~/Downloads/example_urls.txt
|
||||||
|
|
||||||
# OR ingest URLs from a file mounted inside Docker
|
# OR ingest URLs from a file mounted inside Docker
|
||||||
docker compose run archivebox add --depth=1 /data/sources/example_urls.txt
|
docker compose run archivebox add --depth=1 /data/sources/example_urls.txt
|
||||||
|
Reference in New Issue
Block a user