I followed the instructions from the Paperless documentation.
Copy the files docker-compose.postgres.yml (as compose.yaml), docker-compose.env and .env from the Paperless project page in a directory (I used ~/paperless).
Pull the necessary images with
sudo docker compose pull
Start the compose and be patient
sudo docker compose up -d
You should be able to access Paperless-ngx at localhost:8000.