## Docker compose: ``` docuseal-listener: container_name: docuseal-listener restart: unless-stopped ports: - "5001:8000" # Expose port 5001 on your host, mapping to port 8000 in the container environment: # --- Set to true to skip downloading the audit log file --- - SKIP_AUDIT_LOG=true # Add these two lines for URL rewriting - DOCUSEAL_PUBLIC_URL=https://docu.nord-go.com - DOCUSEAL_INTERNAL_URL=http://192.168.20.3:3020 # --- Enable new features --- - APPEND_SUBMITTER_INFO=true - APPEND_TIMESTAMP=true # With or without secret - DISABLE_WEBHOOK_VERIFICATION=true # IMPORTANT: Set your secret here #- DOCUSEAL_WEBHOOK_SECRET="964054b613a8bda0312ce77e23ee107e610837d03e9795eeaf82a4afb1cd3ecc" # This internal path must match the one in the Python script - PAPERLESS_CONSUME_DIR=/consume volumes: # IMPORTANT: This must match the volume name used by your Paperless consume directory - paperless_consume:/consume ``` ## Setup: **Configure Docuseal Webhook:** * Go to your Docuseal webhook settings. * Set the **URL** to `http://:5001/webhook/docuseal`. * Set the **Secret** to the same value you used for `DOCUSEAL_WEBHOOK_SECRET` in your `docker-compose.yml` file. * Ensure the `form.completed` event is enabled.