mirror of
https://github.com/yusing/godoxy.git
synced 2026-01-11 14:20:32 +01:00
Proxmox lxc/vm auto configuration. #78
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DmitriiMukhin on GitHub (May 20, 2025).
Hi.
Do you have any plans to implement for proxmox similar to docker containers configuration? Like in Traefik proxmox provider
@yusing commented on GitHub (May 20, 2025):
I did, when I implemented idle sleep function for LXCs. But I didn't find a place to store route config in Proxmox. "Notes" is definitely not a good place to store it.
@DarinDev1000 commented on GitHub (Jun 10, 2025):
I would be interested in this, and I might be interested in helping make it too
@dacagi commented on GitHub (Jul 15, 2025):
I was too thinking about this. It would be a great feature, at least for LXCs since they tend to start and stop very quickly, not so sure about full VMs. In my case at least, I have one service per LXC, but I have some VMs running multiple services (via Docker and Coolify). And for that I wouldn't shut down the whole VM but stop the underlying Docker container. I mean that the VM sleep function is far more complicated not just to implement, but it also depends on the use case.
Regarding LXCs only then, I too find it a bit 'dirty' to use the notes=description field of the .conf files. But it's either that, or the tags field which I like even less. Otherwise we would require storing those config details in a local file on the godoxy side.
Maybe have an array property in the existing yaml where we would list the LXC ids that we want to enable sleep for?
Since we will be already accessing the Proxmox API to obtain all LXC details, that should allow us to even show the list of LXC ids+hostnames and toggle via UI config editor too.
config.yml sample
config ui options, either comma separated or with individual checkboxes
I only listed ids here for brevity, but it would be useful to display the lxc hostname as well.