Mautic 5 setup via docker

Your software
My Mautic version is:
My PHP version is:
My Database type and version is:

Your problem
My problem is:
i have set up docker mautic via the following link:

for mautic, there are 3 containers : mautic_web, mautic_worker and mautic_cron

I want to know how to set up and use worker & cron containers. Also for what purpose they are used for. Kindly provide detailed answer with examples.

also how to setup queue and cronjobs in mautic.

Thanks

These errors are showing in the log:

Steps I have tried to fix the problem:

Workers and cronjobs are explained in detail in the README of GitHub - mautic/docker-mautic: Docker Image for Mautic.

Set up web/worker/cron containers e.g. by

git clone https://github.com/mautic/docker-mautic.git
cd docker-mautic/examples/basic
docker compose up

wait until all images are fetched and all containers are up, navigate to http://localhost in your browser and see if it shows the Mautic installer.