I am trying to install grav to an AWS Elastic Beanstalk environment (which are ephemeral). I have already attached an EFS store to the environment on mount /efs, but I am a bit confused how to redirect all the media & pages data to be served from a folder on that mount instead (i.e. /efs/grav/pages).
I found on another forum post that this can be done in Streams and setup.php, however there is precious little info on those.
The end result I’d like to have is that the theme, plugins & grav core get installed via git, then the UI (and admin) reads and saves all its content from /efs/grav/pages instead of the default location now, which is /var/app/current/grav/pages.
Any help anyone can provide would be very much appreciated!!