searxng/utils
Ivan Gabaldon c607e77fe9
[mod] container: replace uWSGI with Granian
The configuration in Granian is handled with ENVs, much more convenient and practical for updating. The settings have been tested for over two months in a production instance, being usable on small to somewhat large instances without having to modify anything.

It also removes the patch functions and ENVs abstraction from the entrypoint, this makes it possible to run the container with immutable configuration.

In some setups, It may be desired to have the volumes/files under a specific uid/gid (other than searxng:searxng), if the entrypoint has root permissions it will chown automatically on every start, which may not be desired. Explicitly setting the new ENV `FORCE_OWNERSHIP=false` will prevent ownership from being modified.

No manual migration is necessary **unless** the user has changed the default uWSGI configuration or has a very specific setup.

Closes https://github.com/searxng/searxng/issues/4894
Closes https://github.com/searxng/searxng/issues/4818
Closes https://github.com/searxng/searxng/issues/4802

Supersedes https://github.com/searxng/searxng/pull/4596

Related https://github.com/searxng/searxng/discussions/4479
2025-06-28 20:31:19 +02:00
..
templates [enh] tidy: clean old morty, filtron, searx references 2025-05-13 10:37:02 +02:00
brand.sh [mod] get rid of ./utils/brand.env and its workflow 2024-01-09 16:31:19 +01:00
get_setting.py [mod] get rid of ./utils/brand.env and its workflow 2024-01-09 16:31:19 +01:00
lib.sh [chore] fix some docstring typos (#4815) 2025-05-20 21:03:54 +02:00
lib_go.sh [chore] *: fix typos detected by typos-cli 2024-11-24 12:41:57 +01:00
lib_nvm.sh [chore] *: fix typos detected by typos-cli 2024-11-24 12:41:57 +01:00
lib_redis.sh [utils/searxng.sh] implement new script to install SearXNG 2022-07-30 13:39:35 +02:00
lib_sxng_container.sh [mod] container: replace uWSGI with Granian 2025-06-28 20:31:19 +02:00
lib_sxng_data.sh [fix] wikidata: increase wikidata queries timeout 2025-03-01 12:21:29 +01:00
lib_sxng_node.sh [fix] static.build: upgrade min. node version to 18.17 2025-03-18 06:19:44 +01:00
lib_sxng_static.sh [fix] static.build.commit: add missing searx/templates/simple/icons.html 2025-05-09 12:40:34 +02:00
lib_sxng_test.sh [refactor] typification of SearXNG (initial) / result items (part 1) 2025-01-28 07:07:08 +01:00
lib_sxng_themes.sh [web-client] integrate the migrated theme in the development workflows 2025-02-28 12:27:41 +01:00
lib_sxng_vite.sh [web-client] integrate the migrated theme in the development workflows 2025-02-28 12:27:41 +01:00
lib_sxng_weblate.sh [mod] CI: tag commits with leading scope/type of the modification 2024-03-09 12:17:23 +01:00
lxc-searxng.env [doc] update & fix documentation of the "SearXNG LXC suite" 2023-05-21 18:12:39 +02:00
lxc.sh [chore] *: fix typos detected by typos-cli 2024-11-24 12:41:57 +01:00
makefile.include [mod] replace makefile boilerplate by 'manage' script 2021-04-23 11:26:22 +02:00
makefile.lxc [mod] LXC_ENV_FOLDER moved from ./lxc to ./lxc-env 2020-12-26 11:43:18 +01:00
searxng.sh [fix] debian: install apt package python-is-python3 2025-06-25 08:29:57 +02:00
searxng_check.py [mod] pylint all files with one profile / drop PYLINT_SEARXNG_DISABLE_OPTION 2024-03-11 14:55:38 +01:00