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-01-23 01:05:36 -05:00
parent bf025129cb
commit 55755a763f

@@ -10,8 +10,9 @@ An example `docker-compose.yml` config is included in the project root. You can
cd /path/to/ArchiveBox
docker-compose up -d
```
Then open https://127.0.0.1:8098 to view the archive.
Usage via docker-compose similar to the normal CLI usage of `./archive`. To add new URLs to your archive:
To add new URLs to your archive, you can use docker-compose just like the normal `./archive` CLI:
```bash
# pass links to archive via stdin
echo "https://example.com" | docker-compose exec -T archivebox archive
@@ -24,8 +25,6 @@ mv ~/Downloads/bookmarks.html data/sources/bookmarks.html
docker-compose exec archivebox /bin/archive /data/sources/bookmarks.html
```
Then open https://127.0.0.1:8098 to view the archive.
To pass in environment variables for configuring ArchiveBox,
edit `docker-compose.yml` or create a `.env` file in the project root.