You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One, I can't explain why, but I've lost count of the number of people that use mounted hosted directories (bind mounts) while configuring Additional volumes for apparently additional granularity... only to have everything end up in the same spot (pointless complexity). So this:
... which is not useless, but breaks things (apps - see next item);
Two, when people attempt to "translate" the above example into a bind mounts, this one causes us support problems: -v apps:/var/www/html/custom_apps \. It seems to get often translated to something like ./nextcloud/apps:/var/www/html/custom_apps. That is a clearly broken setup.
Ideas to solve:
Rename the named volume apps in the example to custom_apps for added clarity
Add an example that uses bind mounts to avoid the apparent "translation errors" that occur (and also giving us another opportunity to point out it's a pointless complication unless the source of the mount is going to be somewhere else relative all the other subfolders)
The text was updated successfully, but these errors were encountered:
I can happily do that, and I can do some examples, but I have a question: should I wait for my current examples PR to get merged then put a new one up OR make a separate branch out of this repo's main ? (Honestly, it was a bad move on my end to mess up that example PR that much and make it so different that it needed 21 commits to get it back at "decent looking", I'd really like to do it on separate PR ).
From what I can see, only the docs need updating, but it is a good excuse to re-check the example Dockerfiles. I also notice that the examples folder Readme itself need quite a bit of updating as well.
Two somewhat related problems:
One, I can't explain why, but I've lost count of the number of people that use mounted hosted directories (bind mounts) while configuring Additional volumes for apparently additional granularity... only to have everything end up in the same spot (pointless complexity). So this:
which may be useful... becomes something like this when turned into a bind mount:
... which is not useless, but breaks things (apps - see next item);
Two, when people attempt to "translate" the above example into a bind mounts, this one causes us support problems:
-v apps:/var/www/html/custom_apps \
. It seems to get often translated to something like./nextcloud/apps:/var/www/html/custom_apps
. That is a clearly broken setup.Ideas to solve:
apps
in the example tocustom_apps
for added clarityThe text was updated successfully, but these errors were encountered: