Configure the deployment
-
Download
koonj-<version>-koonj-deployment.zipandSHA256SUMS.txtfrom the same GitHub release, or build the ZIP from source. For a downloaded ZIP, runsha256sum -c SHA256SUMS.txtfrom the download directory. Extract the ZIP and enter itsdocker/directory. -
Copy
.env.exampleto.env. -
Replace all
CHANGE_MEplaceholders in.env, includingKOONJ_DB_PASSWORD,KEYCLOAK_DB_PASSWORD,KEYCLOAK_ADMIN_PASSWORDandKOONJ_RABBITMQ_PASSWORD. -
Set
KOONJ_DATA_MOUNTto the host directory you want to catalog. The server and transfer worker see it as/mnt/koonj. - Configure Keycloak and the console origin before starting the stack.
Start and verify
KOONJ_UI_PORT if you changed it from port 80. Open the same console URL in your browser and sign in. Compose starts the database, identity provider, API, transfer worker, notification worker, RabbitMQ, and web console. The notification worker shares the database with the API and uses RabbitMQ to deliver queued messages.
docker compose down stops the stack and preserves its named volumes. Start it again with docker compose up -d --wait. For an existing installation, review database upgrades before replacing the stack.
Enable observability
The standard stack leaves telemetry export disabled. In.env, set OPENOBSERVE_ROOT_EMAIL, OPENOBSERVE_ROOT_PASSWORD, and OPENOBSERVE_AUTHORIZATION. The authorization value is Basic followed by the Base64-encoded email:password for ingestion. Set KOONJ_OPENOBSERVE_URL to the browser-facing OpenObserve URL, such as http://localhost:5080/web. Set KOONJ_OPENOBSERVE_ORGANIZATION if you use an organization other than default.
koonj.job.execution trace, job execution metrics, and the koonj_server log stream.
When sign-in works, register your storage and run the quickstart.
To expose archived files through a native file manager, configure the transparent recall gateway.