No description
| README.md | ||
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:
# Enable or disable Verification
- DISABLE_WEBHOOK_VERIFICATION=true
# IMPORTANT: Set your secret here
- DOCUSEAL_WEBHOOK_SECRET=YourSuperSecretTokenFromDocuseal
# 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://<your_server_ip_or_domain>:5001/webhook/docuseal. - Set the Secret to the same value you used for
DOCUSEAL_WEBHOOK_SECRETin yourdocker-compose.ymlfile. - Ensure the
form.completedevent is enabled.