Skip to content

branching plugin in netbox/docker envirnonemnt #161

Discussion options

You must be logged in to vote

using netbox-docker github repo:

I've set up a docker-compose.override.yml file, which is tracked in my private GitLab instance and is symlinked to the netbox-docker directory where the compose project is started. Similarly, my custom Dockerfile-Plugins is also symlinked to this directory. Along with this, plugins.py and local_settings.py are bind-mounted into the container through the override file.

A key detail to keep in mind: make sure local_settings.py is outside of the configuration directory, as the file gets overridden by the bind mount in the default docker-compose.yml. To address this, you can add the line COPY local_settings.py /opt/netbox/netbox/netbox/local_settings.py to you…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by CooperCOK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants