Resource icon

Docker Install paperless-ng using docker-compose 2021-01-03

No permission to download
No permission to download
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:

  1. Download docker compose files from the release page. At the moment of writing the version I used is this:

    the file is called
  2. 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
  3. Modify the .env files to your need as well
  4. Make the folder on your Synology docker/paperless-ng and copy the .yml and .env files to it.
  5. 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.
  6. 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.
  7. Execute docker-compose up -d and wait for the main container to become healthy
  8. 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.
That's it. Now you can access the webserver on the port you chose and play around.

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.

Latest reviews

Works exactly as described, thank you very much!
Upvote 1
good instruction, worked very well! Thank you!
Upvote 0

Similar resources

0.00 star(s) 0 ratings
0.00 star(s) 0 ratings
Following initial install of Vaultwarden, suggestions for helping to secure it.
0.00 star(s) 0 ratings
BitWarden - self hosted password manager using vaultwarden/server image Rusty
5.00 star(s) 11 ratings
0.00 star(s) 0 ratings
NextCloud on Synology NAS using Docker compose (with Portainer) SynoMan
The self-hosted productivity platform that keeps you in control
5.00 star(s) 1 ratings
Portainer - using stacks (docker-compose) Rusty
  • Featured
How to deploy docker-compose using Portainer stacks feature
5.00 star(s) 2 ratings