Run cron jobs and php-fpm in separate docker containers

Hello,
I’m splitting my Nextcloud installation number of containers. Putting nginx and mariadb in separate containers is obvious. However, I’m not sure if it’s safe to run cron (handling background jobs) and php-fpm in separate containers. I wonder if php interpreters run in separate different containers won’t interfere / run into races and in result corrupt my data. I pan to share php cfg between both containers.

Can anyone resolve my doubts?