133 Commits

Author SHA1 Message Date
ArnoldCordewiner
0c7875a429 Remove the "version" attribute (#429) 2025-09-21 21:40:14 +02:00
Markus Heiser
c33905f78a Merge pull request #425 from searxng/revert-424-mod-caddy-csp
Revert "[mod] caddy: update csp"
2025-08-21 13:24:33 +02:00
Markus Heiser
cf2444a5ef Revert "[mod] caddy: update csp (#424)"
This reverts commit bc0cfa3d28.
2025-08-21 13:23:57 +02:00
Ivan Gabaldon
bc0cfa3d28 [mod] caddy: update csp (#424)
Since https://github.com/searxng/searxng/pull/5073 we add a script directly to the [`base.html`](https://github.com/searxng/searxng/blob/master/searx/templates/simple/base.html), we need `'unsafe-inline'`.
2025-08-18 21:59:55 +02:00
echo r"0xX4H" | rev
d9357aca09 [enh] add HSTS header (#419) 2025-08-15 16:31:02 +02:00
Ivan Gabaldon
649d7509c9 [fix] container: move references (#417) 2025-08-07 12:37:32 +02:00
Ivan Gabaldon
8de6ea65ab [fix] container: remove static hashing (#410)
* [fix] container: remove static hashing

Allows browser cache heuristics to properly work.

Related https://github.com/searxng/searxng/pull/5006
Closes https://github.com/searxng/searxng-docker/issues/409

* [fix] container: don't revalidate at every request

As Granian no longer handles static files directly, the whole process goes through Flask, which apart from being slow, is resource intensive, even to serve HTTP 304 responses.
2025-07-19 10:19:17 +02:00
Ivan Gabaldon
b0107a0801 [fix] container: dangling Dockerfile reference (#407)
Closes https://github.com/searxng/searxng-docker/issues/403
2025-07-10 21:30:05 +02:00
Ivan Gabaldon
8b75609524 [mod] container: replace uWSGI with Granian (#395)
To sync with https://github.com/searxng/searxng/pull/4820
2025-07-04 14:35:43 +02:00
Ivan Gabaldon
fc51db2367 [fix] container: missing data volume (#399)
Synced from a76ccba9c5/container/base.yml (L54)
2025-06-28 08:59:38 +02:00
ItsNiceCraft
8fe0b98ced docs: remove security cap note (#398) 2025-06-23 21:47:34 +02:00
Ivan Gabaldon
8c006d702f [fix] caddy: revise csp header (#397)
Relaxes some policies, there are obsolete options that are not currently in use that have been removed as well.

Closes https://github.com/searxng/searxng-docker/issues/371
Closes https://github.com/searxng/searxng-docker/issues/177
Closes https://github.com/searxng/searxng/issues/4304
2025-06-14 16:17:08 +02:00
Ivan Gabaldon
6022367de4 [mod] caddy: trusted proxies support (#396)
Early preparation for https://github.com/searxng/searxng/pull/4911
2025-06-14 15:21:40 +02:00
Émilien (perso)
6299a68922 chore: deactivate limiter by default for easier setup (#384) 2025-05-25 18:24:08 +02:00
Ivan Gabaldon
31acd45ec2 [fix] remove security cap
Fixes 749de829d5bad6a05ebe1a733a6bd942c1a386ec
2025-05-20 14:39:21 +02:00
Émilien (perso)
21bca5efa8 fix: layout about mac sed command 2025-03-06 13:32:12 +01:00
Alex Wall
4aa1d14878 Update README.md (#352)
Added Mac syntax on sed command.
2025-03-05 21:15:13 +01:00
Ivan Gabaldon
9adeb8a6f2 revert setting env on Caddyfile (#341) 2025-02-15 21:21:43 +01:00
Ivan Gabaldon
5fc00a3285 Rework Caddyfile (#255)
* rework Caddyfile

* fix missing "public" directive

* features cleanup

Since this header is attached to each outgoing request the overall size is slightly increased by 300 bytes, we don't care if the site is allowed to play media in the background, so with the vast majority of features that have been added (and those that were already present)

* restore encode directive

Caddyserver actually did passthrough the precompressed resources served by uWSGI (Oops)

* merge upstream changes

* fix typo

---------

Co-authored-by: Émilien (perso) <4016501+unixfox@users.noreply.github.com>
2025-02-14 10:27:41 +01:00
(root@itachi)-[~]
a899b72a50 Updated version of "Start SearXNG with systemd"
* Update: grammatical correctness in README.md

* Update:  grammatical accuracy on README.md

* Update: enhance readability and include proper syntax highlighting for the commands under "Start SearXNG with systemd" in README.md

Update: enhance readability and include proper syntax highlighting for the commands under "Start SearXNG with systemd" in README.md

Update README.md

Update README.md

Update README.md

Update: enhance readability and included proper syntax highlighting for the commands under "Start SearXNG with systemd" in README.md

Update: Space Fix!

Update: Space Fixing in cp command
2025-01-03 15:15:03 +01:00
(root@itachi)-[~]
271ba86644 Update: grammatical correctness in README.md (#315)
* Update: grammatical correctness in README.md

* Update:  grammatical accuracy on README.md
2025-01-03 10:33:54 +01:00
Markus Heiser
849975b3fd Merge pull request #293 from 0fficersally/0fficersally
Update `valkey:7-alpine` to `valkey:8-alpine` in `README.md`
2024-10-29 18:17:31 +01:00
Lysander Fontyn
65fa0f9cb6 Update valkey:7-alpine to valkey:8-alpine in README.md
This will update `valkey:7-alpine` to `valkey:8-alpine` in `README.md`, as it has not been updated yet. This is a follow-up on commit 61745b3bf1.
2024-10-29 18:00:07 +01:00
Bnyro
72cb934126 [refactor] readme: add hosting instructions for bringing own reverse proxy 2024-10-06 11:56:21 +02:00
Bnyro
f2b9efe33e feat: uwsgi workers / threads configuration options (#235) 2024-10-04 11:25:44 +02:00
stoXe
0667030a42 Explain required cap_drop removal on first run (#258)
Add instructions to the `README.md` for removing `cap_drop: - ALL` on the first run.

* **Explanation**: Add a note explaining that `cap_drop: - ALL` must be removed from the `docker-compose.yaml` file for the `searxng` service to successfully create `/etc/searxng/uwsgi.ini`.
* **Reason**: Explain that the `cap_drop: - ALL` directive removes all capabilities, including those required for the creation of the `uwsgi.ini` file.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/IAmStoxe/searxng-docker?shareId=XXXX-XXXX-XXXX-XXXX).
2024-10-04 11:24:33 +02:00
Ivan Gabaldon
61745b3bf1 Update to Valkey 8 (#273) 2024-09-22 18:41:39 +02:00
Ivan Gabaldon
35525c664b remove note about ARMv7 (#253) 2024-08-04 00:34:26 +02:00
Marco Perini
de09409572 docs(secret): add powershell script to generate secret (#249) 2024-08-01 12:22:08 +02:00
Markus Heiser
206682d230 Merge pull request #245 from jiangying000/patch-1
fix limiter.toml url
2024-07-13 07:53:59 +02:00
jiangying
157b0a3fb9 fix limiter.toml url 2024-07-13 13:32:31 +08:00
Émilien (perso)
fc4327cd50 note about armv7 2024-06-09 08:03:46 +00:00
Ivan Gabaldon
63f06f5db3 Replace with official Valkey image (#234)
* replace with official image

* use `7-alpine` tag

* prevent collision with other volumes

* Revert editing README formatting

---------

Co-authored-by: Émilien (perso) <4016501+unixfox@users.noreply.github.com>
2024-06-02 21:47:14 +02:00
Émilien (perso)
8546bf599b Add automatic restart of the services
close https://github.com/searxng/searxng-docker/pull/106
2024-05-13 15:43:18 +02:00
Ivan Gabaldon
a0e711191e Replace Redis with Valkey + reduce logging for containers caddy and redis (#230)
* replace redis w/valkey

* cleanup

* apply changes

* revert volume reuse

* fix valkey container

* revert remove `CAP_DROP` `CAP_ADD`

* revert switch from `redis` to `valkey`

* revert revert volume reuse

* update README

* apply changes

* add back useful stuff from README + keep structure + keep compat old docker compose

---------

Co-authored-by: Emilien Devos <4016501+unixfox@users.noreply.github.com>
2024-05-13 15:39:28 +02:00
Lemonade
83447b9435 Fixed searxng-docker.service.template issue (#225) 2024-04-17 14:02:09 +02:00
iacore
8e3220be09 Add docker.io prefix to container image names (#221)
Co-authored-by: iacore <noreply+gpg-stub@1a-insec.net>
2024-02-29 14:19:37 +01:00
Nicolas Bonduel
3ec746a2b4 Update README to use newer docker compose command (#205)
* Update README to use newer docker compose command

* Update README to add note about docker < 3.6.0 and docker-compose

* Update the docker compose install url
2024-01-08 21:45:10 +00:00
Ivan Gabaldon
6813aff4d4 allow persistent rdb (#198)
Signed-off-by: Inetol <igabaldon@inetol.net>
2023-11-28 18:35:40 +01:00
Émilien (perso)
47fad9cba6 remove duplicated limiter parameter 2023-10-25 10:44:24 +02:00
Émilien (perso)
d63d0c77a8 Simply the update process 2023-09-24 09:39:54 +00:00
Émilien (perso)
fa11493d8a update instructions for update docker-compose 2023-09-24 09:38:50 +00:00
Alexandre Flament
41ca45c87f Merge pull request #182 from dalf/enable_limiter
Enable limiter by default
2023-09-22 20:35:01 +02:00
Alexandre Flament
69eb81f031 Enable limiter by default
Related to https://github.com/searxng/searxng/pull/2832
2023-09-22 16:25:27 +00:00
Alexandre Flament
070b02e6da fix URL to documentation in searxng/settings.yml
Close #173
2023-08-25 08:11:09 +02:00
Alexandre Flament
9e42027c31 Merge pull request #162 from ChillyKitty/patch-1
Update Caddyfile to Add X-Real-IP to fix bot detection
2023-08-25 07:54:53 +02:00
ChillyKitty
8b2d017136 Update Caddyfile to Add X-Real-IP to fix bot detection
Bot detection complains about not having X-Real-IP which is required https://docs.searxng.org/src/searx.botdetection.html#id4 this adds the header and fixes the problem for me.
2023-06-20 02:45:04 +00:00
Alexandre Flament
e76656a162 Merge pull request #110 from searxng/dac_override
docker-compose.yaml: remove CAP_DAC_OVERRIDE
2022-12-31 18:35:37 +01:00
Alexandre Flament
12d726f4ff docker-compose.yaml: remove CAP_DAC_OVERRIDE
Close #30
2022-12-31 00:28:19 +00:00
Alexandre Flament
d4f06df911 Merge pull request #77 from searxng/remove_security_yml
Delete security.yml
2022-09-01 18:48:52 +02:00