This worker uses THOR Lite from Nextron Systems to scan files and directories for malicious content.
You need a valid THOR Lite license to use this worker. You can get a free license for non-commercial use from the Nextron Systems website.
Note: Last tested with OpenRelik
0.6.0. Use0.6.0in yourconfig.envfile for all versions in the block of the OpenRelik core system.
Add this to your docker-compose.yml file:
openrelik-worker-thor-lite:
container_name: openrelik-worker-thor-lite
image: ghcr.io/nextronsystems/openrelik-worker-thor-lite:latest
restart: always
environment:
- REDIS_URL=redis://openrelik-redis:6379
- OPENRELIK_PYDEBUG=0
- OPENRELIK_PYDEBUG_PORT=5678
- THOR_LICENSE=<your license key, base64 encoded>
volumes:
- ./data:/usr/share/openrelik/data
command: "celery --app=src.app worker --task-events --concurrency=2 --loglevel=INFO -Q openrelik-worker-thor-lite"To get your THOR Lite license file as a base64-encoded string in one line (on macOS or Linux), you can do:
cat thor-lite-56fe90b8-3c3864bb-20230131-20240208.lic | base64Then copy the output and paste it into the THOR_LICENSE environment variable in your docker-compose.yml file.
Note: You need to add
openrelik:worker:thor-lite:html_reportto[ui] allowed_data_types_previewin yoursettings.tomlto get embedded previews of the HTML reports that the worker generates.

