From 55755a763fe5baf07bc51cc516f7d06a8fe29fe8 Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Wed, 23 Jan 2019 01:05:36 -0500 Subject: [PATCH] Updated Docker (markdown) --- Docker.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Docker.md b/Docker.md index 447d79d..afd038b 100644 --- a/Docker.md +++ b/Docker.md @@ -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.