Paperless is an application by Daniel Quinn and contributors that indexes your scanned documents and allows you to easily search for documents and store metadata alongside your documents.
Paperless-ng is a fork of the original project, adding a new interface and many other changes under the hood. For a detailed list of changes, have a look at the changelog in the documentation.
We are going to install the application using docker-compose on your Synology NAS.
Here are the steps:
BTW this is seen as a stack in Portainer but because it is not created from portainer it can't be managed there. I guess this docker-compose file can be easily translated to portainer template.
Paperless-ng is a fork of the original project, adding a new interface and many other changes under the hood. For a detailed list of changes, have a look at the changelog in the documentation.
We are going to install the application using docker-compose on your Synology NAS.
Here are the steps:
- Download docker compose files from the release page. At the moment of writing the version I used is this:
Release Paperless-ng 0.9.11 · jonaswinkler/paperless-ng
Fixed an issue with the docker image not starting at all due to a configuration change of the web server.github.com
the file is called
paperless-ng-0.9.11-dockerfiles.tar.xz - Extract the files on your computer and rename docker-compose.postgres.yml to docker-compose.yml and modify the files to your needs. I do not like to use volumes but local folders mounted in the docker/paperless-ng folder I will create. I'm attaching mine .yml file. Feel free to use it. I changed the host port and paths to point to my local folders
- Modify the .env files to your need as well
- Make the folder on your Synology docker/paperless-ng and copy the .yml and .env files to it.
- Make the folders inside docker/paperless-ng folder which correspond to volumes from your modified docker-compose.yml file. In my case I had to make: docker/paperless-ng/consume, docker/paperless-ng/data and others you can see from the example file.
- Enable SSH, login via putty (or other ssh client tool of your choice), execute
sudo -i
to become root and go to docker/paperless-ng folder. - Execute
docker-compose up -d
and wait for the main container to become healthy - After the all the containers are up and main container is healthy create the superuser account by executing this command:
docker-compose run --rm webserver createsuperuser
This will let you choose you superuser username and password. The password you can change later.
BTW this is seen as a stack in Portainer but because it is not created from portainer it can't be managed there. I guess this docker-compose file can be easily translated to portainer template.
- Related resources