What the steps install, and how it connects
Connects to it
- Browser8000/tcp
Your server, in Docker
Paperless-ngx containers
From the project’s compose file, downloaded in step 6
- Paperless-ngx web page and app
- Redis-compatible broker (needed)
- 8000/tcpweb pageopened by the project’s compose file
Its data on the server
- docker-compose.ymlthe compose file
- docker-compose.envits settings, with the secret key
- mediaDocker volume: the stored documents
- dataDocker volume: the database
./files to importconsume ./the exportsexport
On TrueNAS the app’s web page is on 30070/tcp. Drawn from step 6 of the Debian + Docker steps. Ports are the ones in those steps and in the table below.
The diagram in words
The Debian + Docker steps install the Paperless-ngx containers from the project’s compose file, with port 8000/tcp. Connects to it: Browser on 8000/tcp. Its data: docker-compose.yml (the compose file); docker-compose.env (its settings, with the secret key); media (Docker volume: the stored documents); data (Docker volume: the database); ./consume (files to import); ./export (the exports).
What it needs
| Ports | 8000/tcp (web page)TrueNAS app web page: 30070/tcp |
|---|---|
| Memory | Not stated by the project (read 3 Dec 2026) |
| CPU | Not stated by the project (read 3 Dec 2026) |
| Disk | Not stated by the project (read 3 Dec 2026) |
| Licence | GPL-3.0 |
| TrueNAS | Community app on TrueNAS |
| Project page | paperless-ngx/paperless-ngx |
Ports are the project's defaults. Memory and disk figures: the project states none, so the table shows none. Estimates only.
What the project's own pages say
- The settings file ships with a placeholder key, PAPERLESS_SECRET_KEY=change-me. The file calls the key required. Replace the placeholder with your own random value before the first start.“Required. A unique secret key for session tokens and signing.” github.com/paperless-ngx/paperless-ngx/blob/main/docker/compose/docker-compose.env read 3 Dec 2026
- The steps use the SQLite compose file. The project recommends PostgreSQL for a new install. Choose the file for that database if the box is meant to last.“For new installations, it is recommended to use PostgreSQL as the database backend.” docs.paperless-ngx.com/setup/ read 3 Dec 2026
The one thing to know before you start
The settings file that the steps download holds a placeholder secret key, change-me. Set your own long random value in docker-compose.env before you start the containers. The compose file also starts a second container, a Redis-compatible broker, and the app needs it. The first time you open the web page, it asks you to create the superuser account. The steps use the SQLite file.
Install steps
These steps follow the project's own pages and have not been tried on real hardware yet.
They start from a server that runs Docker: set up an old laptop or PC first. Docker or bare metal for Paperless-ngx: what each method needs.
- WARNINGDo not run these steps on a server with a public IP address. Anyone on the internet could then reach the apps.
- WARNINGDo not forward these ports on your router, unless a step tells you to. The ports would then be open to the internet.
- WARNINGDo not trust ufw to close a port that Docker opens. Docker bypasses the ufw rules. Read the Docker page on firewalls.
Debian + Docker
checking Some details are still being checked.
- WARNINGKeep every service of the compose file on. The file also starts a Redis broker.
- WARNINGBack up the Docker volumes data and media. The compose file keeps the database in data and the stored documents in media.
- WARNINGKnow that the folder ./consume takes the files to import. The folder ./export holds the exports.
Install Docker Engine with the Compose plugin. Use the Docker page for Debian.
Type this command to create the docker group. If the group exists, go to the next step.
sudo groupadd dockerType this command to add your user to the docker group.
sudo usermod -aG docker $USERLog out and log in again so that the group change takes effect.
Type this command to test Docker.
docker run hello-worldType this command to download the compose file as docker-compose.yml.
curl -L -o docker-compose.yml https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/main/docker/compose/docker-compose.sqlite.ymlType this command to download the file docker-compose.env.
curl -L -O https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/main/docker/compose/docker-compose.envSet PAPERLESS_SECRET_KEY in docker-compose.env to your own long random value. Others can forge sign-in credentials if it is not set.
Type this command to get the images.
docker compose pullType this command in the folder of the file.
docker compose up -dOpen http://<server address>:8000 in a browser.
TrueNAS app
checking Some details are still being checked.
- WARNINGThis app is in the community train. The community supports it, and TrueNAS hides it by default.
- WARNINGUpdate TrueNAS to version 24.10.2.2 or newer before you start.
Open Apps > Configuration > Settings. Select the community checkbox. Click Save.
Open Apps > Discover Apps.
Apps > Discover Apps > search 'paperless-ngx' > Install (train: community)Search for 'paperless-ngx'.
Click Install.
Open http://<server address>:30070 in a browser.
Proxmox VE (VM + Docker)
checking Some details are still being checked.
- WARNINGUse a VM, not an LXC container. Proxmox says: "nesting containers inside a Proxmox QEMU VM remains a recommended practice".
- WARNINGKeep every service of the compose file on. The file also starts a Redis broker.
- WARNINGBack up the Docker volumes data and media. The compose file keeps the database in data and the stored documents in media.
- WARNINGKnow that the folder ./consume takes the files to import. The folder ./export holds the exports.
Create a Debian VM in Proxmox VE.
Sign in to the VM.
Install Docker Engine with the Compose plugin. Use the Docker page for Debian.
Type this command to create the docker group. If the group exists, go to the next step.
sudo groupadd dockerType this command to add your user to the docker group.
sudo usermod -aG docker $USERLog out and log in again so that the group change takes effect.
Type this command to test Docker.
docker run hello-worldType this command to download the compose file as docker-compose.yml.
curl -L -o docker-compose.yml https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/main/docker/compose/docker-compose.sqlite.ymlType this command to download the file docker-compose.env.
curl -L -O https://raw.githubusercontent.com/paperless-ngx/paperless-ngx/main/docker/compose/docker-compose.envSet PAPERLESS_SECRET_KEY in docker-compose.env to your own long random value. Others can forge sign-in credentials if it is not set.
Type this command to get the images.
docker compose pullType this command in the folder of the file.
docker compose up -dOpen http://<server address>:8000 in a browser.
Licences and credits: Sources and licences.
What will it cost to run?
This page gives no power figure for Paperless-ngx. The planner adds up the box it runs on, where the power goes splits that figure part by part, and the guide gives idle watts and a yearly cost at your own price.
Plan a file server in the planner, or read the home server hardware guide.