Skip to content
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

chore: added example with php.ini values in env variables #106

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions apps/docs/content/php/how-to/customize-runtime.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,15 @@ To invalidate the custom runtime cache go to `yyy`
**// TODO screenshot**

When the custom runtime cache is used, Zerops doesn't create a prepare runtime container and executes the deployment of your application directly.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would add the description of what example it is of.

Add a heading e.g. ### Overwrite php.ini files and add this 👇 it looks fine, just clean it up a little so it sounds good (we don't use "I" in the docs etc)
It is possible to overwrite php.ini values using env variables. If I want to overwrite the post_max_size variable to a value of 10M, I can do this by creating a PHP_INI_post_max_size variable with a value of 10M. In zerops.yaml for example:

### Example

```yml
zerops:
- setup: app
run:
base: [email protected]
envVariables:
# It is possible to overwrite php.ini values using env variables
PHP_INI_post_max_size: 10M
```