Commit graph

12 commits

Author SHA1 Message Date
Tobias Genannt c93870e802
Update docker/launch-netbox.sh
Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
2025-11-12 12:34:10 +01:00
Tobias Genannt 7d56493327
Update docker/launch-netbox.sh
Co-authored-by: Christian Mäder <cimnine@users.noreply.github.com>
2025-11-12 12:34:04 +01:00
Tobias Genannt 951e0f3817 Addressed review comments 2025-11-12 08:37:09 +01:00
Tobias Genannt b38ce536b0 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.
2025-11-12 07:56:14 +01:00
Willard Nilges eb2822a978
Fix typo in error message for Unit configuration 2025-10-19 01:17:23 -04:00
Tobias Genannt 23d5865e3d Update Ubuntu und Nginx Unit 2023-05-11 08:09:56 +02:00
Tobias Genannt d3a30e1172 Updated to new unit version 2023-03-01 07:39:37 +01:00
Tobias Genannt 5679ab435f Use user name instead of userid
Nginx unit needs the user and group parameter as names.
2021-09-24 08:16:07 +02:00
Tobias Genannt 03a1793208 Drops privileges to user 101 and group 0
When the container is started as root the default was to drop privileges to "unit:unit". This caused some problems with temporary files. Now the privileges are drop to "101:0".
When the container is started as a normal user unit prints a warning that changing the user and group is not possible. This warning is safe to ignore.
2021-07-30 21:42:05 +02:00
Christian Mäder 04ac3d5f4b Format shell scripts with shfmt 2021-02-08 18:56:30 +01:00
Tobias Genannt a21d146b60 Is greater than or equal to is "-ge" and not "-gte". 2021-01-31 16:39:45 +01:00
Tobias Genannt d273391773 Gunicorn is replaced with nginx-unit
We now serve Netbox with an nginx-unit instance instead of Gunicorn.
This allows us to get rid of the extra Nginx container because Unit is
also serving the static files. The static files are now collected at container
buildtime instead of every startup.
2021-01-15 09:22:22 +01:00