mirror of
https://github.com/pirate/ArchiveBox.git
synced 2025-08-28 16:50:01 +02:00
Updated Docker (markdown)
10
Docker.md
10
Docker.md
@@ -11,11 +11,13 @@ Make sure you have Docker installed and set up on your machine before following
|
||||
- [Overview](#)
|
||||
- [Docker Compose](#docker-compose) (recommended way)
|
||||
- [Setup](#setup)
|
||||
- [Upgrading](https://github.com/ArchiveBox/ArchiveBox/wiki/Upgrading-or-Merging-Archives#upgrading-with-docker-compose-%EF%B8%8F)
|
||||
- [Usage](#usage)
|
||||
- [Accessing the data](#accessing-the-data)
|
||||
- [Configuration](#configuration)
|
||||
- [Plain Docker](#docker)
|
||||
- [Setup](#setup-1)
|
||||
- [Upgrading](https://github.com/ArchiveBox/ArchiveBox/wiki/Upgrading-or-Merging-Archives#upgrading-with-plain-docker)
|
||||
- [Usage](#usage-1)
|
||||
- [Accessing the data](#accessing-the-data-1)
|
||||
- [Configuration](#configuration-1)
|
||||
@@ -64,6 +66,10 @@ curl https://raw.githubusercontent.com/ArchiveBox/ArchiveBox/master/etc/sonic.cf
|
||||
docker-compose run archivebox update --index-only
|
||||
```
|
||||
|
||||
### Upgrading
|
||||
|
||||
See https://github.com/ArchiveBox/ArchiveBox/wiki/Upgrading-or-Merging-Archives#upgrading-with-docker-compose-%EF%B8%8F
|
||||
|
||||
### Usage
|
||||
|
||||
First, make sure you're `cd`'ed into the same folder as your `docker-compose.yml` file (e.g. the project root) and that your containers have been started with `docker-compose up -d`.
|
||||
@@ -143,6 +149,10 @@ Replace `~/ArchiveBox` in the command above with the full path to a folder to us
|
||||
|
||||
Make sure the data folder you use host is either a new, uncreated path, or if it already exists make sure it has permissions initially set to `777` so that the ArchiveBox command is able to set it to the specified `OUTPUT_PERMISSIONS` config setting on the first run.
|
||||
|
||||
### Upgrading
|
||||
|
||||
See https://github.com/ArchiveBox/ArchiveBox/wiki/Upgrading-or-Merging-Archives#upgrading-with-plain-docker
|
||||
|
||||
### Usage
|
||||
|
||||
**To add a single URL to the archive** or a list of links from a file, pipe them in via stdin. This will archive each link passed in.
|
||||
|
Reference in New Issue
Block a user