fix : start_service.sh & compose

This commit is contained in:
martin legrand
2025-04-16 08:43:32 +02:00
parent 2cb7ac34ce
commit 906dc18060
7 changed files with 4 additions and 21 deletions
-9
View File
@@ -1,9 +0,0 @@
#!/bin/bash
# entrypoint for docker searxng service
SECRET_KEY=$(openssl rand -hex 32)
sed -i "s/ultrasecretkey/$SECRET_KEY/g" /etc/searxng/settings.yml
exec /usr/local/searxng/dockerfiles/docker-entrypoint.sh "$@"
+1 -1
View File
@@ -95,7 +95,7 @@ server:
# If your instance owns a /etc/searxng/settings.yml file, then set the following
# values there.
secret_key: "ultrasecretkey" # Is overwritten by ${SEARXNG_SECRET}
secret_key: "supersecret" # Is overwritten by ${SEARXNG_SECRET},W
# Proxy image results through SearXNG. Is overwritten by ${SEARXNG_IMAGE_PROXY}
image_proxy: false
# 1.0 and 1.1 are supported
+1 -1
View File
@@ -95,7 +95,7 @@ server:
# If your instance owns a /etc/searxng/settings.yml file, then set the following
# values there.
secret_key: "7e1e975e77322d8a27f0cc403e6dbd4cd8f75336358bf5c88c0ddd83d7be78dc" # Is overwritten by ${SEARXNG_SECRET}
secret_key: "a0f32049a2301f36ef012b9b7ef62733b4af1379a1d28d5c33d92cea37288182" # Is overwritten by ${SEARXNG_SECRET}
# Proxy image results through SearXNG. Is overwritten by ${SEARXNG_IMAGE_PROXY}
image_proxy: false
# 1.0 and 1.1 are supported