Wordpress configuration
Hi, I've been wanting to run wordpress via runtipi. Install went smooth, however, it now has an upload limit of 2MB which I want to increase. I was assuming that making a user-config/wordpress/docker-compose.yml would override the docker-compose. But its not I think.
I have this in my user-config:
But I see this docker compose in the /apps directory:
Note that I'm missing the volume. Am I looking wrong?
5 Replies
Hello,
Your user config and the original docker-compose file (the one you see in "apps" directory) are merged together.
Merging reference (https://docs.docker.com/reference/compose-file/merge/)
This is why you don't see your changes directly reflected on files.
But, this also means you only need to write what you want to add inside you user-config
docker-compose
file.
In your case, it would be :
To answer your functionnal problem,
You'll see that I have fixed the host path of the volume from ./custom.ini
(relative path) to ${APP_DATA_DIR}/data/custom.ini
(full path).
You should be able to edit your file at this location runtipi/app-data/wordpress/data/custom.ini
I hope this answer your question and solve your problem πHi, thanks. Let me check that out π
Thanks, so that worked! Now it seems like traefik is responding with 413 response to large. Any idea how I can fix that?
I've tried some stuf from S.O but nothing that really helped me uptil now.
You probably need a custom main docker-compose to override the default limits
Have you tried this? https://doc.traefik.io/traefik/middlewares/http/buffering/#configuration-examples
Traefik Buffering Documentation - Traefik
The HTTP buffering middleware in Traefik Proxy limits the size of requests that can be forwarded to Services. Read the technical documentation.
edit: just re-read its about traefik appearantly - so just in case its nginx/wordpress the following would help:
something like that should help
conf.d :