add some more wordpress options for file uploads #44

Merged
stevensting merged 5 commits from stevensting/wordpress:main into main 2024-12-09 14:59:58 +00:00
Owner
No description provided.
stevensting added 1 commit 2024-08-23 15:33:11 +00:00
add some more wordpress options for file uploads
Some checks failed
continuous-integration/drone/pr Build is failing
73efb584db
Author
Owner

it was necessary to enhance these settings for importing large existing websites

it was necessary to enhance these settings for importing large existing websites
decentral1se approved these changes 2024-08-25 14:36:03 +00:00
Dismissed
decentral1se left a comment
Owner

Thanks for this! LGTM but I'll wait for some recipe maintainer to weigh in before merging.

Thanks for this! LGTM but I'll wait for some recipe maintainer to weigh in before merging.
Owner

It might be worth changing the uploads.ini to uploads.ini.tpl and then adding two env vars: UPLOAD_MAX_SIZE and UPLOAD_MAX_TIME

It might be worth changing the uploads.ini to uploads.ini.tpl and then adding two env vars: UPLOAD_MAX_SIZE and UPLOAD_MAX_TIME
Owner

I agree with @p4u1 but I'm also happy merging this to improve the defaults. @p4u1 are you also OK with this being merged?

I agree with @p4u1 but I'm also happy merging this to improve the defaults. @p4u1 are you also OK with this being merged?
stevensting added 1 commit 2024-12-01 12:06:18 +00:00
review findings
Some checks failed
continuous-integration/drone/pr Build is failing
faf7335719
Author
Owner

@3wordchant @p4u1 Like this?

@3wordchant @p4u1 Like this?
Owner

This looks almost good! It would be nice to have default value for both env variables. Otherwise it would be a breaking change

This looks almost good! It would be nice to have default value for both env variables. Otherwise it would be a breaking change
stevensting added 1 commit 2024-12-01 17:46:46 +00:00
add default values for env vars
Some checks failed
continuous-integration/drone/pr Build is failing
1f91caf0fb
decentral1se reviewed 2024-12-02 00:01:45 +00:00
decentral1se left a comment
Owner

Cool! Annnnd, you'll need to update the name in the compose.yml file also:

# ...
php_uploads_conf:
  name: ${STACK_NAME}_php_uploads_conf_${PHP_UPLOADS_CONF_VERSION}
  file: uploads.ini
# ...

Also, it's usually .tmpl, not .tpl, seems like a typo?

Cool! Annnnd, you'll need to update the name in the `compose.yml` file also: ```yaml # ... php_uploads_conf: name: ${STACK_NAME}_php_uploads_conf_${PHP_UPLOADS_CONF_VERSION} file: uploads.ini # ... ``` Also, it's usually `.tmpl`, not `.tpl`, seems like a typo?
stevensting added 1 commit 2024-12-02 09:24:23 +00:00
rename template file
Some checks failed
continuous-integration/drone/pr Build is failing
7a03867e2f
stevensting added 1 commit 2024-12-02 09:27:50 +00:00
reflect rename in compose
Some checks failed
continuous-integration/drone/pr Build is failing
0e9997a03e
decentral1se approved these changes 2024-12-02 22:51:53 +00:00
decentral1se left a comment
Owner

🤘

🤘
Owner

@stevensting gave you the commit bit, you have read/write on all the repos, welcome welcome 🎉

Click the green button as you see fit!

@stevensting gave you the commit bit, you have read/write on all the repos, welcome welcome 🎉 Click the green button as you see fit!
stevensting merged commit f49fa05ded into main 2024-12-09 14:59:58 +00:00
Sign in to join this conversation.
No description provided.