Nextcloud AIO php-fpm config.php modification

I’m trying to tweak my php-fpm config.php (/usr/local/etc/php-fpm.d/www.conf) in my nextcloud-aio-nextcloud container. How do I make this a read-only file override from my docker-compose.yaml file? It’s not the master container but one of the child containers.

Any help is appreciated. Thank you.

Hi, you cannot edit the file permanently