# ---------------------------------------------------- # Paperless-NGX - Docker Compose Environment Variables # ---------------------------------------------------- # Copy this file to .env and fill in your values. # ---------------------------- # App # ---------------------------- # Docker image tag for Paperless-NGX PAPERLESS_VERSION=latest # Host port to expose the Paperless web UI on PAPERLESS_PORT=8022 # User and group ID the app process runs as (match your bind mount ownership) PAPERLESS_USERMAP_UID=0 PAPERLESS_USERMAP_GID=0 # Long random string used to sign sessions — generate with: openssl rand -hex 64 PAPERLESS_SECRET_KEY= # Consume folder polling — needed when the consume path is a network share (inotify events don't propagate) PAPERLESS_CONSUMER_POLLING=60 PAPERLESS_CONSUMER_POLLING_RETRY_COUNT=10 PAPERLESS_CONSUMER_POLLING_DELAY=60 # Host paths for the app's bind mounts (e.g. /mnt/paperless/data) PAPERLESS_DATA_PATH= PAPERLESS_MEDIA_PATH= PAPERLESS_EXPORT_PATH= PAPERLESS_CONSUME_PATH= # ---------------------------- # Database (PostgreSQL) # ---------------------------- # Postgres image tag PAPERLESS_DB_VERSION=17 # Database credentials — must match between app and db services PAPERLESS_DB_NAME=paperless PAPERLESS_DB_USERNAME=paperless PAPERLESS_DB_PASSWORD= # ---------------------------- # Redis # ---------------------------- # Redis image tag PAPERLESS_REDIS_VERSION=8 # ---------------------------- # NFS Volumes # ---------------------------- # IP address or hostname of the NFS server PAPERLESS_NFS_SERVER= # NFS export paths for the db and redis volumes (e.g. :/mnt/pool/paperless/db) PAPERLESS_DB_NFS_DEVICE= PAPERLESS_REDIS_NFS_DEVICE=