aws-samples / eb-php-wordpress

Configuration files and instructions for installing WordPress securely and running it in a load balanced AWS Elastic Beanstalk environment with an EFS file system for shared assets.
Apache License 2.0
165 stars 95 forks source link

Efs #2

Closed GeneralCan closed 7 years ago

GeneralCan commented 7 years ago

I have a question. And I don't know if this is the place to ask.

Following these directions. Is WordPress set up to run completely from the efs mount or only wp-content/uploads?

mwunderl commented 7 years ago

Only wp-content/uploads is stored on the EFS file system. This configuration file creates a simlink to map that folder to the mount folder: .ebextensions/efs-mount.config

That leaves your wp-config.php file outside of EFS so you can keep it in source control, modify it locally, and deploy changes through Beanstalk.