Skip to content

Netbox-branching getting to work? #1316

Answered by tobiasge
basn asked this question in Getting Help
Sep 10, 2024 · 2 comments · 9 replies
Discussion options

You must be logged in to vote

I just tried building an images with the plugin and it worked with these files:

Dockerfile/Containerfile

FROM quay.io/netboxcommunity/netbox:v4.1

COPY plugins.py /etc/netbox/config/plugins.py
COPY local_settings.py /opt/netbox/netbox/netbox/local_settings.py
RUN /opt/netbox/venv/bin/pip install netboxlabs-netbox-branching
RUN SECRET_KEY="dummyKeyWithMinimumLength-------------------------" /opt/netbox/venv/bin/python /opt/netbox/netbox/manage.py collectstatic --no-input

plugins.py

PLUGINS = [
    'netbox_branching',
]

local_settings.py

from netbox_branching.utilities import DynamicSchemaDict
from .configuration import DATABASE

# Wrap DATABASES with DynamicSchemaDict for dynamic schema su…

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@teixemf
Comment options

@basn
Comment options

@basn
Comment options

@mrlnbllmnn
Comment options

@teixemf
Comment options

Answer selected by basn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants