-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Bedrock WordPress apps #134
base: master
Are you sure you want to change the base?
Conversation
Bedrock is a Composer based WordPress setup. These changes allow for it as a framework type if specified by name. I've included an nginx config that supports WordPress style rewrites.
👍 |
This looks awesome! |
@@ -196,7 +196,7 @@ pm = static | |||
; forget to tweak pm.* to fit your needs. | |||
; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand' | |||
; Note: This value is mandatory. | |||
pm.max_children = 8 | |||
pm.max_children = 3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why changing this ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was something i should have done in a branch to save memory on the my server that has many apps running on only 4 cores. I committed a revert of this for master.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am using this with dokku on a server with ~10 apps and the memory usage is a bit much with 8 php processes per app - epecially since I do not have 8 cores. I have moved this customization into another branch.
This should have been done in a branch. This reverts commit fb7490d.
Bedrock is a Composer based WordPress setup. These changes
allow for it as a framework type if specified by name. I've
included an nginx config that supports WordPress style
rewrites.