December 14, 20241 yr Support thread for any questions related to the docker container quartz-builder. Quartz-builder uses https://github.com/jackyzha0/quartz as well as ExpressJS to easily build your static website from obsidian files.
December 19, 20241 yr Hello, thank you very much for this app template. This is something that I really wanted and appreciate. As far as I can see, the /quartz directoy contains config files that I want to change. https://quartz.jzhao.xyz/configuration I edited the quartz.config.ts and after restarting the container, the changes were visible. I was just about to make the path /quartz persistent, but I noticed that when the container is recreated, the files disappear. I'm not too deep into Docker yet, but are there any possibilities to store configuration files persistently? And most importantly, would they also work after updating the container without overwriting my own config files? Or do I have to manually download and keep them up-to-date over the time? Thank you very much. Best regards,
February 25, 20251 yr On 12/19/2024 at 6:15 PM, Kulisch said: Hello, thank you very much for this app template. This is something that I really wanted and appreciate. As far as I can see, the /quartz directoy contains config files that I want to change. https://quartz.jzhao.xyz/configuration I edited the quartz.config.ts and after restarting the container, the changes were visible. I was just about to make the path /quartz persistent, but I noticed that when the container is recreated, the files disappear. I'm not too deep into Docker yet, but are there any possibilities to store configuration files persistently? And most importantly, would they also work after updating the container without overwriting my own config files? Or do I have to manually download and keep them up-to-date over the time? Thank you very much. Best regards, I just got to this myself, and the solution is fairly simple - just add the config as a bind mount: -v '/mnt/user/appdata/quartz_builder/quartz.config.ts':'/quartz/quartz.config.ts':'ro' So, in essence: Create your `quartz.config.ts` file somewhere. Edit the container in Unraid. Click "Add another Path, Port, Variable, Label or Device" and create a new path. Set `/quartz/quartz.config.ts` as the "Container Path" Set the path where your config file is as the "Host Path", e.g. `/mnt/user/appdata/quartz_builder/quartz.config.ts`. For safety, set "Access Mode" as RO.
February 21Feb 21 As the comments above were discussing, you can't change this container's config by default, I think you should include a mount to the /quartz folder in order to be able to do that.Also, the variable FOLDER includes this description: "The folder in your obsidian vault you want to output (default is /public, leave empty for root)" but if you leave it empty, it defaults to "public" folder again. If you set it to "/", it sets the folder to "/vault//*" as seen in the logs.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.