A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Move `docker-compose.env` to `docker-compose.env.example` & adjust docs
Tikitu de Jager438b161a25d6
diff --git a/.gitignore b/.gitignoreindex 2c65f8dcd..d4c3fe38e 100644--- a/.gitignore+++ b/.gitignore@@ -69,6 +69,7 @@ db.sqlite3virtualenv.vagrantdocker-compose.yml+docker-compose.env# Used for developmentscripts/import-for-developmentdiff --git a/docker-compose.env b/docker-compose.env.examplesimilarity index 100%rename from docker-compose.envrename to docker-compose.env.examplediff --git a/docs/setup.rst b/docs/setup.rstindex 796de88e6..be8a349d8 100644--- a/docs/setup.rst+++ b/docs/setup.rst@@ -156,8 +156,15 @@ Docker Method.. _Docker installation guide: https://docs.docker.com/engine/installation/.. _docker-compose installation guide: https://docs.docker.com/compose/install/-3. Create a copy of ``docker-compose.yml.example`` as ``docker-compose.yml``.-4. Modify ``docker-compose.env`` and adapt the following environment variables:+3. Create a copy of ``docker-compose.yml.example`` as ``docker-compose.yml`` and+ a copy of ``docker-compose.env.example`` as ``docker-compose.env``. You'll be+ editing both these files: taking a copy ensures that you can ``git pull`` to+ receive updates without risking merge conflicts with your modified versions+ of the configuration files.+4. Modify ``docker-compose.yml`` to your preferences, following the instructions+ in comments in the file. The only change that is a hard requirement is to+ specify where the consumption directory should mount.+5. Modify ``docker-compose.env`` and adapt the following environment variables:``PAPERLESS_PASSPHRASE``This is the passphrase Paperless uses to encrypt/decrypt the original@@ -186,9 +193,9 @@ Docker Methodand thus the one of the consumption directory. Furthermore, you can changethe id of the default user as well using ``USERMAP_UID``.-5. Run ``docker-compose up -d``. This will create and start the necessary+6. Run ``docker-compose up -d``. This will create and start the necessarycontainers.-6. To be able to login, you will need a super user. To create it, execute the+7. To be able to login, you will need a super user. To create it, execute thefollowing command:.. code-block:: shell-session@@ -197,11 +204,11 @@ Docker MethodThis will prompt you to set a username (default ``paperless``), an optionale-mail address and finally a password.-7. The default ``docker-compose.yml`` exports the webserver on your local port+8. The default ``docker-compose.yml`` exports the webserver on your local port8000. If you haven't adapted this, you should now be able to visit your`Paperless webserver`_ at ``http://127.0.0.1:8000``. You can login with theuser and password you just created.-8. Add files to consumption directory the way you prefer to. Following are two+9. Add files to consumption directory the way you prefer to. Following are twopossible options:1. Mount the consumption directory to a local host path by modifying your