* 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>
- Fix#1383: Setting DEBUG = true when collection the static files
enables the use of the Django debug toolbar.
- Fix#1385: Use uv as package manager instead of pip speeds up the build.
- Nice display of Docker image version
- Reports and Scripts have changed in Netbox 3.5. They need to be uploaded now.
The Docker compose now creates a volume as it does for the media files
- Napalm has been removed from Netbox 3.5
All configuration entries for Napalm were removed and napalm itself is removed from the requirements file
- Removed Gunicorn from the image
Nginx Unit has been used for a while now. No need to install Gunicorn
We have beeing installing psycopg2 for a while now. This updates to the latest version. Because psycopg2-binary is a direct dependency of Netbox both versions were installled. Now we remove the pre-compiled version from the dependency file.
With Debian the Quay.io security checker found several issues in the
image. With Ubuntu we have never versions of all packages and therefore
less (or no) issues.
It is pulled by postgresql-dev anyway
In the upcoming alpine, openssl v3 will be
the default, but postgresql-dev will still
require openssl v1.x.
This creates a conflict, which can be resolved
if postgresql-dev can choose the openssl version
it depends on.
And also fixes the build by providing a 'alpine version'
of the google/crc32c library, which google-crc32c and
google-cloud-storage and ultimately django-storages[google]
depend on.