Skip to content

Release 4.0.0#1609

Merged
tobiasge merged 49 commits intoreleasefrom
develop
Feb 3, 2026
Merged

Release 4.0.0#1609
tobiasge merged 49 commits intoreleasefrom
develop

Conversation

@tobiasge
Copy link
Copy Markdown
Member

@tobiasge tobiasge commented Feb 3, 2026

Noteworthy Changes

This release contains some breaking changes, that are listed below. Mainly Nginx Unit, which we used as a web and application server is not maintained anymore. We are now using Granian. We also updated Valkey and PostgreSQL images.

Switch server to Granian #1561

Because Nginx Unit is no longer actively maintained, we are switching the server to Granian. If you have made custom configurations for Nginx Unit, please refer to the Granian documentation to replicate those settings.

This also changes the username the container is using internally from unit to netbox.

Update docker.io/postgres Docker tag to v18 #1523

This is a major version update for the PostgreSQL image. You need to export and re-import your database. See the the instructions in our wiki: Upgrading PostgreSQL

In docker-library/postgres#1259 the maintainers of the Docker image changed the way they mount the data directory into the container. Please check your setup!

Update docker.io/valkey/valkey Docker tag to v9 #1500

This is a major version update for the Valkey image.

Support new API token format #1591

NetBox has updated its API token format to enhance security. NetBox Docker now supports the new token format.

Update STORAGES example in extra.py #1576

NetBox-Docker Okta & Google SSO Environment Additions #1475

Dependency updates

Compatibility

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

renovate Bot and others added 30 commits August 15, 2025 00:38
…key-valkey-9.x

Update docker.io/valkey/valkey Docker tag to v9
…tgres-18.x

Update docker.io/postgres Docker tag to v18
* Switch server to Granian

Because the development of Nginx Unit has been stopped, switch the server
to Granian which still allows to serve the Python application and the
static files from one server.

* Addressed review comments

* Update docker/launch-netbox.sh

Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>

* Update docker/launch-netbox.sh

Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>

---------

Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
…out-6.x

Update actions/checkout action to v6
fix: change the netbox docker version in the image tag
* feat: add SSO environment variable support for OKTA and Google OAuth2

Add native support for SSO configuration through environment variables
and Docker secrets, eliminating the need to modify configuration.py
for common SSO providers.

Changes:
- Add OKTA OpenID Connect configuration variables:
  - SOCIAL_AUTH_OKTA_OPENIDCONNECT_KEY (env var)
  - SOCIAL_AUTH_OKTA_OPENIDCONNECT_SECRET (env var + Docker secret: okta_openidconnect_secret)
  - SOCIAL_AUTH_OKTA_OPENIDCONNECT_API_URL (env var)

- Add Google OAuth2 configuration variables:
  - SOCIAL_AUTH_GOOGLE_OAUTH2_KEY (env var)
  - SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET (env var + Docker secret: google_oauth2_secret)

Follows existing patterns with _read_secret() for sensitive data and
environ.get() for non-sensitive configuration.

Resolves: #1139

* Secrets example

* fix: add newline at end of file

---------

Co-authored-by: skyefugate <skyefugate@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…dap-5.x

Update dependency django-auth-ldap to v5.3.0
tobiasge and others added 19 commits January 7, 2026 14:53
Changed volume to match upstream image
chore(deps): update dependency granian to v2.6.1
chore(deps): update dependency sentry-sdk to v2.49.0
Support new API token format
chore(deps): update dependency dulwich to v0.25.1
chore(deps): update dependency sentry-sdk to v2.50.0
chore(deps): update dependency sentry-sdk to v2.51.0
Fixed the local documentation and prepare for a new release
@tobiasge tobiasge requested a review from cimnine February 3, 2026 08:55
Comment thread docker-compose.yml
Comment thread docker-compose.yml
@tobiasge tobiasge merged commit c60defe into release Feb 3, 2026
19 checks passed
@remchuk
Copy link
Copy Markdown

remchuk commented Feb 4, 2026

Is there a way to edit the granian configuration?

In the nginx-unit there was a way to increase the webserver number of workers.

@tobiasge
Copy link
Copy Markdown
Member Author

tobiasge commented Feb 4, 2026

You can set the environment variables used here: https://github.com/netbox-community/netbox-docker/blob/release/docker/launch-netbox.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants