I just installed it on my 216+II using docker compose. Works perfectly using postrgresql compose file.
Here are the quick steps:
- Download docker compose files from the release page. At the moment of writing the version I used is this:
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.
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.