Hi,
I have to rebuild a node. I want it to run multiple LXCs with multiple docker container and am wondering on what would be the best strategy on this.
Here are my ideas so far.
Let's say I have two LXC called "network" and "media".
"network" should run something like adguard and wireguard.
"media" should run jellyfin and navidrome.
Now I create a dataset like /tank/container and mount it to all LXCs. Each LXC creates a folder with their hostname in it (e.g. /tank/container/network). And inside of this folder there are all compose files.
Ultimately I want to sync my compose files via git in an gitea instance. There I'll just edit all of them on my windows machine push changes and pull them on the different LXCs.
And now I could either set all paths in the compose files to my mountpoint so in addition to the compose files the data generated by the container will be saved on my dataset as well. Or I could save the container data inside the LXC itself and make use of the backup function inside of proxmox.
I'm not sure what would be the best practice here. I'm still very new to most of the stuff.
Thanks
I have to rebuild a node. I want it to run multiple LXCs with multiple docker container and am wondering on what would be the best strategy on this.
Here are my ideas so far.
Let's say I have two LXC called "network" and "media".
"network" should run something like adguard and wireguard.
"media" should run jellyfin and navidrome.
Now I create a dataset like /tank/container and mount it to all LXCs. Each LXC creates a folder with their hostname in it (e.g. /tank/container/network). And inside of this folder there are all compose files.
Ultimately I want to sync my compose files via git in an gitea instance. There I'll just edit all of them on my windows machine push changes and pull them on the different LXCs.
And now I could either set all paths in the compose files to my mountpoint so in addition to the compose files the data generated by the container will be saved on my dataset as well. Or I could save the container data inside the LXC itself and make use of the backup function inside of proxmox.
I'm not sure what would be the best practice here. I'm still very new to most of the stuff.
Thanks