Closed askpatrickw closed 1 year ago
This is by design....
NOTE: HOME_SITE_LOCAL_STG is /var/www/wordpress
If you run top in your container you will see unison is running to sync files between the persisted storage in /home and the /var/www which is where Nginx is then updated to run from by app services.
unison /home/site/wwwroot /var/www/wordpress -auto -batch -times -copythreshold 1000 -prefer /home/site/wwwroot -repeat watch -ignore Path wp-content/uploads -perms 0 -log=false
I'm using /home/dev/startup.sh to move Wordpress to a subfolder as per these instructions.
And it works, for a hot minute, but then something comes along and puts all the files back at /home/site/wwwroot.