HowTo request: PVC Modification?

trekkie

Dabbler
Joined
Aug 25, 2018
Messages
10
I am in the process of installing and migrating my existing solution into a TrueNAS Scale. Previously I had used Docker and Docker-Compose to run most of my applications.

I'm currently using the TrueCharts Pihole. However, I'm finding that it's mostly a black box from my perspective of 'clicking around the menus' I'm not able to find anything that answers this question.

I know that there PVCs, and I need to add files to them. I'm not seeing a method to do that, I'd like to do it programmatically (either via git or something similar) so that when I update the config the push out. As I had done a semi-automated method of doing that today with docker-compose files.

Is there some documentation on how putting persistent configuration files in the appropriate directories? I understand I can mount the PVC with the application stopped by doing the following:


Code:
ALWAYS MAKE SURE THE APP IS STOPPED WHILE DOING THIS

If you want to read the PVC content:
 
zfs set mountpoint=/temporary PVCNAME

Your PVC will be mounted under /mnt/temporary


and when you're done editing:
 
zfs set mountpoint=legacy PVCNAME


However, how do I find the PVCNAME out? how would I update the conf files semi regularly? (Cache redirects, options for iCloud Private Relay which is currently being blocked)

Looking to also move a few other apps over but this 'black box' method that it seems to be for me undocumented, if it isn't I apologize but google isn't helping me find the 'intro to Apps on Scale for Docker users' type of documentation

Thanks
 
Top