trey
August 10, 2023, 9:58pm
1
Has anybody here tried running a Kirby site on Fly.io ?
I’m having a heck of a time getting the content/
folder to work from a mounted volume .
I figured it would work to create a symbolic link to where it expects the folder, but I’m getting such helpful error messages as:
File(/var/www/html/content/site.txt) is not within the allowed path(s): (/var/www/html:
…
trey
August 11, 2023, 2:42pm
2
I finally figured out a good solution thanks to this article : I just needed to mount the volume where I needed it instead of trying to symlink it: /var/www/html/content
trey
August 16, 2023, 4:08pm
3
I changed up this technique a bit and blogged about it. I hope this helps someone else!
4 Likes
srijan
October 16, 2023, 6:40am
4
Nice!
I wonder if there is a way to keep content in git as well.
Make sure the git client is installed in your Docker container, and you should be good to go with any plugin that supports this.