Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG NETBOX_VERSION=v4.5.10
ARG NETBOX_VERSION=v4.6.0

FROM netboxcommunity/netbox:${NETBOX_VERSION}

Expand All @@ -9,6 +9,8 @@ COPY configuration/plugins.py /etc/netbox/config/plugins.py
COPY configuration/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY entrypoint.sh /opt/netbox/entrypoint.sh

LABEL internal_version="4.5.10.0"
LABEL internal_version="4.6.0.0"
LABEL prometheus_scrape="true"
LABEL prometheus_address="netbox:8080"

CMD ["/opt/netbox/entrypoint.sh"]
4 changes: 4 additions & 0 deletions env/netbox.env
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@ SUPERUSER_API_TOKEN=only4testingpurpose
WEBHOOKS_ENABLED=true
VM_AGENT_BODY_TEMPLATE=cGxlYXNlIGNoYW5nZSB0aGF0
VM_AGENT_BASE_URL=http://my.agent.com
METRICS_ENABLED=True
GRANIAN_WORKERS=1
GRANIAN_BACKPRESSURE=47
GRANIAN_EXTRA_ARGS=--access-log-fmt=time="%(time)s" addr="%(addr)s" method=%(method)s path=%(path)s protocol=%(protocol)s status=%(status)d duration_ms=%(dt_ms).3f
Loading