Skip to content

Commit

Permalink
Better Docker run command
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jul 18, 2021
1 parent 0928bea commit 1cc9b74
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions README.md
Expand Up @@ -42,7 +42,7 @@ On the NAS:

```bash
$ python3 -m pip install scan-to-paperless
$ sudo activate-global-python-argcomplete
$ sudo activate-global-python-argcomplete # optional
$ echo PATH=$PATH:~/venv/bin >> ~/.bashrc
```

Expand Down Expand Up @@ -97,15 +97,22 @@ and you can get the \*.syno.json files to configure your Docker services.
Otherwise use:

```bash
docker run --rm --restart=unless-stopped \
docker run --name=scan-to-paperless --restart=unless-stopped --detatch \
--volume=<scan_folder>:/source \
--volume=<consume_folder>:/destination \
sbrunner/scan-to-paperless
```

You can set the environment variable `PROGRESS` to `TRUE` to get all the intermediate images.

### Repoitory link
To stop run:

```bash
docker stop scan-to-paperless
docker rm scan-to-paperless
```

### Repertory link

You should find a way to synchronise or using sharing to link the scan folder on your desktop and on your nas.

Expand Down

0 comments on commit 1cc9b74

Please sign in to comment.