mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	pr comment - documentation edits
This commit is contained in:
		| @@ -186,16 +186,25 @@ Install Paperless from Docker Hub | ||||
|  | ||||
|     **Rootless** | ||||
|  | ||||
|     If you want to run Paperless as a rootless container, you will need to: | ||||
|     If you want to run Paperless as a rootless container, you will need to add the | ||||
|     following to your ``docker-compose.yml``: | ||||
|  | ||||
|     - set the ``user`` running the container to map to the ``paperless`` user in the | ||||
|       container. | ||||
|       See ``USERMAP_UID`` and ``USERMAP_GID`` :ref:`here <configuration-polling>`. | ||||
|       This value (``user_id`` below), should be the same id that ``USERMAP_UID`` and | ||||
|       ``USERMAP_GID`` are set to in the next step. | ||||
|       See ``USERMAP_UID`` and ``USERMAP_GID`` :ref:`here <configuration-docker>`. | ||||
|  | ||||
|     - override some of the ``supervisord`` defaults by setting the ``command`` to: | ||||
|     - override some of the ``supervisord`` defaults by setting the docker ``command`` | ||||
|       (`see here <https://docs.docker.com/compose/compose-file/#command>`_) to: | ||||
|  | ||||
|     Your ``docker-compose.yml`` entry for Paperless will look something like: | ||||
|  | ||||
|      .. code:: | ||||
|  | ||||
|         webserver: | ||||
|           image: ghcr.io/paperless-ngx/paperless-ngx:latest | ||||
|           user: <user_id> | ||||
|           command: | ||||
|             - "/usr/local/bin/supervisord" | ||||
|             - "-c" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Aidan Stein
					Aidan Stein