configs: permissions_actions_data: content: >- [{"read_only": false, "mount_path": "/mnt/permission/postgres_postgres_data", "is_temporary": false, "identifier": "postgres_postgres_data", "recursive": false, "mode": "check", "uid": 999, "gid": 999, "chmod": null}, {"read_only": false, "mount_path": "/mnt/permission/redis_redis_data", "is_temporary": true, "identifier": "redis_redis_data", "recursive": true, "mode": "check", "uid": 568, "gid": 568, "chmod": null}] networks: ix-internal-paperless-ngx-paperless-net: enable_ipv6: False external: False labels: tn.network.internal: 'true' name: ix-internal-paperless-ngx-paperless-net services: gotenberg: cap_drop: - ALL deploy: resources: limits: cpus: '4' memory: 8192M environment: API_PORT: '3000' CHROMIUM_ALLOW_LIST: ^file:///tmp/.* CHROMIUM_DISABLE_JAVASCRIPT: 'true' GID: '568' GROUP_ID: '568' NVIDIA_VISIBLE_DEVICES: void PGID: '568' PUID: '568' TZ: Europe/Moscow UID: '568' UMASK: '002' UMASK_SET: '002' USER_ID: '568' group_add: - 568 healthcheck: interval: 30s retries: 5 start_interval: 2s start_period: 15s test: - CMD-SHELL - >- /bin/bash -c '{ printf "GET /health HTTP/1.1\r\nHost: 127.0.0.1\r\nConnection: close\r\n\r\n" >&0; grep "HTTP" | grep -q "200"; } 0<>/dev/tcp/127.0.0.1/3000' timeout: 5s image: >- gotenberg/gotenberg:8.40.0@sha256:53073e798c8ef39ea2187e44cb67bab77894ea2509100b94c4fe3b461f7b2996 networks: ix-internal-paperless-ngx-paperless-net: {} platform: linux/amd64 privileged: False restart: unless-stopped security_opt: - no-new-privileges=true stdin_open: False tty: False user: '1001:1001' paperless: cap_drop: - ALL depends_on: gotenberg: condition: service_healthy permissions: condition: service_completed_successfully postgres: condition: service_healthy redis: condition: service_healthy tika: condition: service_healthy deploy: resources: limits: cpus: '4' memory: 8192M environment: GID: '568' GROUP_ID: '568' NVIDIA_VISIBLE_DEVICES: void PAPERLESS_ADMIN_MAIL: olegzarembo@mail.ru PAPERLESS_ADMIN_PASSWORD: 23pfhbX2374 PAPERLESS_ADMIN_USER: moucceu PAPERLESS_ALLOWED_HOSTS: paperless.neodok.ru,localhost,127.0.0.1 PAPERLESS_BIND_ADDR: 0.0.0.0 PAPERLESS_CONSUMPTION_DIR: /usr/src/paperless/consume PAPERLESS_DATA_DIR: /paperless/data PAPERLESS_DBENGINE: postgresql PAPERLESS_DBHOST: postgres PAPERLESS_DBNAME: paperless PAPERLESS_DBPASS: 23MariA2374 PAPERLESS_DBPORT: '5432' PAPERLESS_DBUSER: paperless PAPERLESS_MEDIA_ROOT: /paperless/media PAPERLESS_OCR_LANGUAGE: rus+eng PAPERLESS_PORT: '30070' PAPERLESS_REDIS: redis://default:23MariA2374@redis:6379 PAPERLESS_SECRET_KEY: 23@PfhbX2374 PAPERLESS_TIKA_ENABLED: '1' PAPERLESS_TIKA_ENDPOINT: http://tika:9998 PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000 PAPERLESS_TIME_ZONE: Europe/Moscow PAPERLESS_TRASH_DIR: /paperless/trash PAPERLESS_URL: https://paperless.neodok.ru PGID: '568' PUID: '568' TZ: Europe/Moscow UID: '568' UMASK: '002' UMASK_SET: '002' USER_ID: '568' USER_IS_NON_ROOT: 'true' group_add: - 568 healthcheck: interval: 30s retries: 5 start_interval: 2s start_period: 15s test: - CMD - curl - '--request' - GET - '--silent' - '--output' - /dev/null - '--show-error' - '--fail' - http://127.0.0.1:30070/ timeout: 5s image: >- ghcr.io/paperless-ngx/paperless-ngx:3.5.1@sha256:8508853b8a0f8394074260957d0be186c8c64f346973b24a7583de4580f306b9 networks: ix-internal-paperless-ngx-paperless-net: {} platform: linux/amd64 ports: - mode: ingress protocol: tcp published: 30070 target: 30070 privileged: False restart: unless-stopped security_opt: - no-new-privileges=true stdin_open: False tty: False user: '568:568' volumes: - bind: create_host_path: False propagation: rprivate read_only: False source: /mnt/SSDPOOL/appdata/paperless/data target: /paperless/data type: bind - bind: create_host_path: False propagation: rprivate read_only: False source: /mnt/SSDPOOL/appdata/paperless/media target: /paperless/media type: bind - bind: create_host_path: False propagation: rprivate read_only: False source: /mnt/SSDPOOL/appdata/paperless/trash target: /paperless/trash type: bind - bind: create_host_path: False propagation: rprivate read_only: False source: /mnt/SSDPOOL/appdata/paperless/tessdata target: /usr/share/tesseract-ocr/5/tessdata type: bind - bind: create_host_path: False propagation: rprivate read_only: False source: /mnt/SSDPOOL/appdata/paperless/consume target: /usr/src/paperless/consume type: bind permissions: cap_add: - CHOWN - DAC_OVERRIDE - FOWNER cap_drop: - ALL configs: - mode: 320 source: permissions_actions_data target: /script/actions.json deploy: resources: limits: cpus: '2' memory: 1024M entrypoint: - python3 - /script/permissions.py environment: GID: '568' GROUP_ID: '568' NVIDIA_VISIBLE_DEVICES: void PGID: '568' PUID: '568' TZ: Europe/Moscow UID: '568' UMASK: '002' UMASK_SET: '002' USER_ID: '568' group_add: - 568 healthcheck: disable: True image: >- ghcr.io/truenas/containers/container-utils:1.1.2@sha256:6ddfdc314af9d18cfacb836ad266ef0ed91fecaa3686b20be72e464972860c08 network_mode: none platform: linux/amd64 privileged: False restart: on-failure:1 security_opt: - no-new-privileges=true stdin_open: False tty: False user: '0:0' volumes: - bind: create_host_path: False propagation: rprivate read_only: False source: /mnt/SSDPOOL/appdata/paperless/postgres target: /mnt/permission/postgres_postgres_data type: bind - read_only: False source: redis-data target: /mnt/permission/redis_redis_data type: volume volume: nocopy: False postgres: cap_drop: - ALL command: - '-c' - max_connections=100 depends_on: permissions: condition: service_completed_successfully postgres_upgrade: condition: service_completed_successfully deploy: resources: limits: cpus: '4' memory: 8192M environment: GID: '568' GROUP_ID: '568' NVIDIA_VISIBLE_DEVICES: void PGDATA: /var/lib/postgresql/18/docker PGID: '568' PGPORT: '5432' POSTGRES_DB: paperless POSTGRES_PASSWORD: 23MariA2374 POSTGRES_USER: paperless PUID: '568' TZ: Europe/Moscow UID: '568' UMASK: '002' UMASK_SET: '002' USER_ID: '568' group_add: - 568 healthcheck: interval: 30s retries: 5 start_interval: 2s start_period: 15s test: - CMD - /usr/lib/postgresql/18/bin/pg_isready - '-h' - 127.0.0.1 - '-p' - '5432' - '-U' - paperless - '-d' - paperless timeout: 5s image: >- postgres:18.7-trixie@sha256:eb63372c1e05c755f55fa30cbd07aecc443676fc6c0fa90b9002d01537841e1a networks: ix-internal-paperless-ngx-paperless-net: {} platform: linux/amd64 privileged: False restart: unless-stopped security_opt: - no-new-privileges=true shm_size: 256M stdin_open: False stop_grace_period: 60s tty: False user: '999:999' volumes: - bind: create_host_path: False propagation: rprivate read_only: False source: /mnt/SSDPOOL/appdata/paperless/postgres target: /var/lib/postgresql type: bind postgres_upgrade: cap_drop: - ALL depends_on: permissions: condition: service_completed_successfully deploy: resources: limits: cpus: '2' memory: 1024M entrypoint: - /bin/bash - '-c' - /upgrade.sh environment: GID: '568' GROUP_ID: '568' NVIDIA_VISIBLE_DEVICES: void PGDATA: /var/lib/postgresql/18/docker PGID: '568' PGPORT: '5432' POSTGRES_DB: paperless POSTGRES_PASSWORD: 23MariA2374 POSTGRES_USER: paperless PUID: '568' TARGET_VERSION: '18' TZ: Europe/Moscow UID: '568' UMASK: '002' UMASK_SET: '002' USER_ID: '568' group_add: - 568 healthcheck: disable: True image: >- ghcr.io/truenas/containers/postgres-upgrade:1.3.0@sha256:d7a8ebc0ce6b635de24af34560bac3592ddba7be4e815ce48a4de42e000ce40c network_mode: none platform: linux/amd64 privileged: False restart: on-failure:1 security_opt: - no-new-privileges=true stdin_open: False tty: False user: '999:999' volumes: - bind: create_host_path: False propagation: rprivate read_only: False source: /mnt/SSDPOOL/appdata/paperless/postgres target: /var/lib/postgresql type: bind redis: cap_drop: - ALL command: - sh - '-c' - |- exec valkey-server - <- ghcr.io/valkey-io/valkey:9.2.0@sha256:1c2b25b09f354c66fe994733acdf12fcfd4bdf6f3bd92b88a93a70378d884056 networks: ix-internal-paperless-ngx-paperless-net: {} platform: linux/amd64 privileged: False restart: unless-stopped security_opt: - no-new-privileges=true stdin_open: False stop_grace_period: 60s tty: False user: '568:568' volumes: - read_only: False source: redis-data target: /data type: volume volume: nocopy: False tika: cap_drop: - ALL command: - '--port' - '9998' deploy: resources: limits: cpus: '4' memory: 8192M environment: GID: '568' GROUP_ID: '568' NVIDIA_VISIBLE_DEVICES: void PGID: '568' PUID: '568' TZ: Europe/Moscow UID: '568' UMASK: '002' UMASK_SET: '002' USER_ID: '568' group_add: - 568 healthcheck: interval: 30s retries: 5 start_interval: 2s start_period: 15s test: - CMD - wget - '--quiet' - '-O' - /dev/null - http://127.0.0.1:9998/tika timeout: 5s image: >- apache/tika:3.4.0.0-full@sha256:33d96e4c936b4bc716e9ca310a2e8d93f609be55571e9f777ae247e85462306f networks: ix-internal-paperless-ngx-paperless-net: {} platform: linux/amd64 privileged: False restart: unless-stopped security_opt: - no-new-privileges=true stdin_open: False stop_grace_period: 60s tty: False user: '568:568' volumes: redis-data: {} x-action-required: False x-notes: > # Paperless-ngx ## Security **Read the following security precautions to ensure that you wish to continue using this application.** --- ### Container: [gotenberg] #### Joined networks - ix-internal-paperless-ngx-paperless-net #### Running user/group(s) - User: 1001 - Group: 1001 - Supplementary Groups: apps --- ### Container: [paperless] #### Joined networks - ix-internal-paperless-ngx-paperless-net #### Running user/group(s) - User: 568 - Group: 568 - Supplementary Groups: apps --- ### Container: [postgres] #### Joined networks - ix-internal-paperless-ngx-paperless-net #### Running user/group(s) - User: 999 - Group: 999 - Supplementary Groups: apps --- ### Container: [redis] #### Joined networks - ix-internal-paperless-ngx-paperless-net #### Running user/group(s) - User: 568 - Group: 568 - Supplementary Groups: apps --- ### Container: [tika] #### Joined networks - ix-internal-paperless-ngx-paperless-net #### Running user/group(s) - User: 568 - Group: 568 - Supplementary Groups: apps --- ### Container: [permissions] **This container is short-lived.** #### Running user/group(s) - User: root - Group: root - Supplementary Groups: apps --- ### Container: [postgres_upgrade] **This container is short-lived.** #### Running user/group(s) - User: 999 - Group: 999 - Supplementary Groups: apps --- ## Bug Reports and Feature Requests If you find a bug in this app or have an idea for a new feature, please file an issue at https://github.com/truenas/apps x-portals: - host: 0.0.0.0 name: Web UI path: / port: 30070 scheme: http