Netbox 3.5 - script storage across multiple containers #12643
Replies: 2 comments 9 replies
-
Check out my response in #12663, which would be along the same lines. You'd be able to tie directly into your git repo and sync changes, but as for now the "upload" process is manual, even when a data source is involved. However, the file changes will be synced automatically when checked. |
Beta Was this translation helpful? Give feedback.
-
Have you tried using a local data source? If you shipped everything within the image, you could simply use the local backend to fetch your reports and scripts. It's just an additional step but nothing is required to be changed in your deployment. This also doesn't create anything extra on the filesystem. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We have multiple containers running on different hosts for HA to our netbox setup. We previously managed our custom script deployment by tracking those files in our internal fork of netbox-docker, and exposing them to the container via a volume mapping from the local host (that had our netbox-docker fork cloned locally).
With 3.5's change that requires scripts to be uploaded via the UI, it does not look like this strategy works? Is there a recommended approach to synchronizing these reasonably? I would like to avoid needing a shared nfs volume or something for the script storage that the UI manages, if possible - since we already have our scripts versioned in git. Is there a way to just deploy these either in the container build or in the filesystem of the physical host?
Beta Was this translation helpful? Give feedback.
All reactions