In my FOSS solution for dockerized moodle https://github.com/ellakcy/docker-moodle I am implementing a feature that allows you to run the moodle cron script. And I want to know if it is a good idea to run it on a seperate installation that points into the same database and data. any data will be shared via volumes.
For now I build images for php 3.5, 3.8, 3.9, 3.10, 3.11 in apache based images and in alpine based images as well. Each image is perfoming a full database installation as seen in entrypoint script: https://github.com/ellakcy/docker-moodle/blob/b91b6944b1c25154fbdb84d738d543f9b3e454a9/scripts/entrypoint.sh#L177-L181
So I wanted to know if would be a good idea to ship a full moodle installation and share the data volume or would be better just to have php and ship only the required php and modules.