Skip to content

Releases: netbox-community/netbox-docker

Version 2.9.1

07 May 16:29
0c99ff8
Compare
Choose a tag to compare

Noteworthy Changes

Fix #1222: Use /login/ as health check URL #1223

Because /api/ now requires a login when LOGIN_REQUIRED is true, we now use /login/ to check the container

Install Sentry Django integration correctly #1224

Ensures that the Django integration for sentry-sdk is installed

Compatibility

This version of NetBox Docker is only compatible with NetBox v4.0.x and above.
For older versions, use a previous release of NetBox Docker.

Version 2.9.0

06 May 19:26
6d25a54
Compare
Choose a tag to compare

Noteworthy Changes

Add env var for CENSUS_REPORTING_ENABLED #1133

Add Redis Sentinel config as environment vars #1134

Fix segfault in python3-saml #1135

See SAML-Toolkits/python3-saml#389

docker-entrypoint.sh: clarify default token message #1138

Unit and Ubuntu update #1167

We are now using Ubuntu 23.10 and Nginx Unit 1.32

Update dependency sentry-sdk to v1.44.0 #1189

The sentry-sdk is included in the image once again.

Adds HSTS related parameters #1209

Updated dependencies

  • dulwich to v0.22.1 #1208
  • psycopg to v3.1.18 #1151
  • django-auth-ldap to v4.8.0 #1196
  • django-storages to v1.14.3 #1216
  • Github Actions:
    • github/super-linter action to v6 #1210

Compatibility

This version of NetBox Docker is only compatible with NetBox v4.0.x and above.
For older versions, use a previous release of NetBox Docker.

Version 2.8.0

02 Jan 07:57
f1ca9ab
Compare
Choose a tag to compare

Noteworthy Changes

Update postgres Docker tag to v16 #1082

Our docker-compose file was updated to use PostgreSQL 16.

Note that you will need to take manual action after you upgrade a live PostgreSQL database.
If your database is not too big, a full backup (with PostgreSQL 15, i.e. before the upgrade) and restore (with a clean PostgreSQL 15, i.e. after the upgrade) is probably the easiest to achieve. Our troubleshooting wiki page has instructions on how to backup and restore a Netbox database. Please test the procedure on a test system first!

Note that there is no requirement to update to PostgreSQL 16, you can stick to version 15 just fine. You could do this with a docker-compose.override.yml like so:

version: '3.4'
services:
  postgres:
    image: postgres:15-alpine

Updated dependencies

  • dulwich to v0.21.7 #1120
  • psycopg to v3.1.16 #1115
  • python3-saml to v1.16.0 #1101
  • django-auth-ldap to v4.6.0 #1097
  • django-storages to v1.14.2 #1100
  • Github Actions:
    • actions/setup-python action to v5 #1122
    • docker/login-action action to v3 #1074
    • docker/setup-qemu-action action to v3 #1076

Compatibility

This version of NetBox Docker is only compatible with NetBox v3.7.x and above.
For older versions, use a previous release of NetBox Docker.

Version 2.7.0

30 Aug 21:23
b47e85a
Compare
Choose a tag to compare

Noteworthy Changes

Preparation for Netbox 3.6 #1039

  • Please also read the release note for Netbox.
  • Installed openssh-client for data sources; Note: This still needs a user with home directory and SSH configuration to work

Rename JOBRESULT_RETENTION to JOB_RETENTION #1009

Updated for new variable names in Netbox

Update Ubuntu und Nginx Unit #1010

Image is now based in Ubuntu 23.04 and Nginx Unit 1.30

docker-compose.yml: fix volume mount options #1024

Removed the z option from bind mounts

Update dependency django-auth-ldap to v4.4.0 #1034

netbox.env: fixed unwanted string interpolation #1042

Fixed for secret keys with $

Set REMOTE_AUTH_AUTO_CREATE_USER default to False #1043

Changed the default to match the value from Netbox

Map REMOTE_AUTH_BACKEND env var to list #1059

This can now be a list in Netbox

Compatibility

This version of NetBox Docker is only compatible with NetBox v3.6.x and above.
For older versions, use a previous release of NetBox Docker.

Version 2.6.1

28 Apr 13:30
22486fe
Compare
Choose a tag to compare

Noteworthy Changes

Preparation for Netbox 3.5 #990

  • Removes Napalm from the image, because all things Napalm have been removed from Netbox core and are now a plugin
  • Removes Gunicorn from the image, because it hat not been used
  • Removes BASE_PATH environment variable
    Changing the base path where Netbox is served, needs more changes than changing this variable. To prevent surprises we have removed it.
  • Netbox 3.5 changed how it handles custom scripts and reports. To be compatible with this change, the bind mounts for those reports and scripts have been removed from the docker-compose.yml. If you currently have custom files in one of those directories, you will have to upload them into Netbox. This can be done in the UI.
  • Please also read the release note for Netbox.

Update dependency django-auth-ldap to v4.3.0 #1000

Using a current version

Fixed typo in version string in docker-compose.yml

Version 2.6.0 had a typo in the version, which is fixed with this hot fix release

Compatibility

This version of NetBox Docker is only compatible with NetBox v3.5.x and above.
For older versions, use a previous release of NetBox Docker.

Version 2.6.0

28 Apr 07:01
b4a6be3
Compare
Choose a tag to compare

Noteworthy Changes

Preparation for Netbox 3.5 #990

  • Removes Napalm from the image, because all things Napalm have been removed from Netbox core and are now a plugin
  • Removes Gunicorn from the image, because it hat not been used
  • Removes BASE_PATH environment variable
    Changing the base path where Netbox is served, needs more changes than changing this variable. To prevent surprises we have removed it.
  • Netbox 3.5 changed how it handles custom scripts and reports. To be compatible with this change, the bind mounts for those reports and scripts have been removed from the docker-compose.yml. If you currently have custom files in one of those directories, you will have to upload them into Netbox. This can be done in the UI.
  • Please also read the release note for Netbox.

Update dependency django-auth-ldap to v4.3.0 #1000

Using a current version

Compatibility

This version of NetBox Docker is only compatible with NetBox v3.5.x and above.
For older versions, use a previous release of NetBox Docker.

Version 2.5.3

15 Apr 06:43
3286faa
Compare
Choose a tag to compare

Noteworthy Changes

Update dependency psycopg2 to v2.9.6 #980

Updated to current version

Fixed version conflicts for social-auth-core #982

Always use the version from Netbox

Try to get test on ARM64 to pass #983

Improved tests on ARM64

Update github/super-linter action to v5 #988

Updated to current version

Compatibility

This version of NetBox Docker is only compatible with NetBox v3.4.x and above.
For older versions, use a previous release of NetBox Docker.

Version 2.5.2

29 Mar 18:51
7bf9e1a
Compare
Choose a tag to compare

Noteworthy Changes

Use same version as Netbox for social-auth-core #973

Fixes build for Netbox 3.4.7 and up

Update dependency django-auth-ldap to v4.2.0 #972

Updates to current version for django-auth-ldap

Update docker-compose.yml #968

Use the full image name in docker-compose.yml

Added more tests #965

Improved the testing in Github Actions

Compatibility

This version of NetBox Docker is only compatible with NetBox v3.4.x and above.
For older versions, use a previous release of NetBox Docker.

Version 2.5.1

16 Mar 10:13
97ee353
Compare
Choose a tag to compare

Noteworthy Changes

Catch DoesNotExist preventing startup #961

Fixed startup problem

Compatibility

This version of NetBox Docker is only compatible with NetBox v3.4.x and above.
For older versions, use a previous release of NetBox Docker.

Version 2.5.0

15 Mar 14:53
93017f1
Compare
Choose a tag to compare

Noteworthy Changes

Don't create superuser with default credentials #955

To improve security in production environment we don't create a default admin anymore

Replaced curl with Skopeo in image functions #956

Improved stability for our build process

Updated to new unit version #951

We are now using Nginx Unit 1.29.1

docker-entrypoint.sh needs to be updated to run manage.py reindex --lazy after migrations #947

Update indexes on start when needed

implement extra LDAP user and group filters as requested in #471 #931

Improved the filter settings for LDAP

Prepend docker.io to image URLs #910

Using the full image name to fixed errors with podman

Fix Github action warnings #933

Using the modern syntax for Github Actions ENV variables and output

Using GITHUB_TOKEN for API #932

Updated the build process to use the GITHUB_TOKEN

Add redis username parameter #929

Redis username can now be set from ENV variables

Fix syntax of docker compose commands #914

Using modern syntax for docker compose

Added start_period to docker-compose example #913

Added example for the health checks

Ensure that '*' or 'localhost' is always in ALLOWED_HOSTS #912

Ensures that ALLOWED_HOSTS is always set correctly

Compatibility

This version of NetBox Docker is only compatible with NetBox v3.4.x and above.
For older versions, use a previous release of NetBox Docker.