Add an option to add volumes for persistent custom content #46

Closed
opened 2025-07-24 14:27:26 +00:00 by aadil · 2 comments
Owner

In a couple of sites I'm running, I need to add some custom content (pdfs/static html) files to the site root. This option would also be useful if you want to hack on a custom theme and push it to the container without setting up a complicated deployment process.

In a couple of sites I'm running, I need to add some custom content (pdfs/static html) files to the site root. This option would also be useful if you want to hack on a custom theme and push it to the container without setting up a complicated deployment process.
Owner

I'm not opposed to this being added as an option, as far as I understand it could introduce complications with updates, because updating the Co-op Cloud app wouldn't update the running version of Wordpress.

In a couple of sites I'm running, I need to add some custom content (pdfs/static html) files to the site root.

For PDFs I would recommend uploading them in the WP media library, and using the "redirections" plugin to set a neater URL.

This option would also be useful if you want to hack on a custom theme and push it to the container without setting up a complicated deployment process.

I think wp-content is already in a volume, so it could be directly edited in /var/lib/docker/volumes.

I'm not opposed to this being added as an option, as far as I understand it could introduce complications with updates, because updating the Co-op Cloud app wouldn't update the running version of Wordpress. > In a couple of sites I'm running, I need to add some custom content (pdfs/static html) files to the site root. For PDFs I would recommend uploading them in the WP media library, and using the "redirections" plugin to set a neater URL. > This option would also be useful if you want to hack on a custom theme and push it to the container without setting up a complicated deployment process. I think `wp-content` is already in a volume, so it could be directly edited in `/var/lib/docker/volumes`.
Owner
https://git.coopcloud.tech/coop-cloud/wordpress/commit/8e81f3f81cdfb2adf5d6125358158ff01ae48237
Sign in to join this conversation.
No labels
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coop-cloud/wordpress#46