1
0
Fork 0
mirror of https://github.com/paperless-ngx/paperless-ngx.git synced 2026-11-23 12:27:05 +01:00
2 Multiple paperless instances
pk72 edited this page 2026-11-16 11:41:45 +01:00

If you need to run multiple instances of paperless on the same machine, the following changes need to be made. This guide assumes paperless is installed via docker containers.

  1. Create different paths in your user account for the instances, e.g. /home/user/paperless-1and /home/user/paperless-2. Copy the docker-compose.yml, the docker-compose.env and the .env files into these places. Also create the export and consume folders below these paths, corresponding to the way set in the docker-compose.yml file.
  2. In the .env file, in line COMPOSE_PROJECT_NAME=paperless, assign different names for each instance.
  3. In file docker-comose.yml, in section
 ports:
      - "8000:8000"

give each instance an individual port number (the number in front of the colon).

The rest of the setup should be as described in https://docs.paperless-ngx.com/setup/. docker compose pull only needs to be run once. Each instance needs to be started with docker compose up -d individually.