Viewing a single comment thread. View all comments

emma wrote

make a zzzzzzzz-jstpst.ini with just the memory limit setting and mount it in /usr/local/etc/php/conf.d, would be my suggestion

2

twovests wrote

this worked perfectly!!! thank you :D

for anyone who wants to copy this (or, future us), we added roughly this to the docker-compose yaml:


volumes:
 - ${PWD}/zzz-postmill.ini:/usr/local/etc/php/conf.d/zzz-postmill.ini

where zzz-postmill.ini had a higher memory. we had to put it in both of the php images

1

twovests wrote

Thank you! Just to confirm, this would go inside the PHP worker container, right? Or somewhere else

(I'd test directly but I'm on mobile right now, and the container being dead makes it tricky to sh into)

1

emma wrote

yep

2

twovests wrote

rad, ty! will try that

I just tried that in the other php container, in the hopes that they somehow share a config. Tried adding a new file and then again by editing the zz-postmill.ini directly. Rebooting each time because I am the worlds worst and most evil sysadmin.

The reason the site was down for a full few minutes was because I was hoping it might be possible to sh into the container if I did so before anyone made a call to the site, but it seems to try to thumbnail the image first thing it does.

I know I need to do the proper thing (set it up so that file is "mounted" from my host filesystem into the container) but it's just a Thing I Gotta Figure Out How To Do

1