Open Emilien-Lambert opened 1 month ago
The main reason that it doesn't work is that cap_appname
first gets replaced.
Try renaming $$cap_appname-data
to $$cap_data_volume
. It might work.
But there might be other limitations in the flow that might limit the usage of a path. You'll know once you try above. Let me know once you find out!
@githubsaturn Thanks for the tips indeed, that was indeed the problem for the volume :) 👍
Yes, as you say, there are other issues to be resolved for this to work. After renaming the variable to $$cap_data_volume
, the Nextcloud application fails to start up correctly.
I'm currently experimenting with a customized volume. I'll keep you informed of progress here.
Hello, I'd like to propose an enhancement to Nextcloud's One Click App template, to add the ability to set folder path to use for nextcloud installation.
I tried to make this enhancement myself by adding the
$$cap_appname-data
variable at install time. But for some reason, the path is not taken into account and caprover uses the default path as in this image.However, I did add this to the template:
There must be a syntax error, if someone experienced in One Click App templates would like to give me some advice, that would be nice.
I asked the question on caprover's Slack but didn't get an answer and saw in the documentation that it was possible to open an issue here. I hope this is allowed and that I'm in the right place.
Best regards
Here is the complete template: