I tried this docker template and I noticed that wordpress cannot update itself or plugins/themes because of directory ownershsip issues.
Everything is owned by www-data but frankenphp runs as root.
I modified the dockerfile to run franken as www-data and it works now.
I also had to change the owner of /data/caddy.
Is there any other folder I need to change the owner of ?
Do you know any better way to do this ?
I tried this docker template and I noticed that wordpress cannot update itself or plugins/themes because of directory ownershsip issues. Everything is owned by www-data but frankenphp runs as root. I modified the dockerfile to run franken as www-data and it works now. I also had to change the owner of
/data/caddy
. Is there any other folder I need to change the owner of ? Do you know any better way to do this ?