LibreY

- privacy respecting meta search engine
git clone git://git.acid.vegas/LibreY.git
Log | Files | Refs | Archive | README | LICENSE

commit ee9f7d84472681b7e684f93a2481a4a7c5dfd79d
parent 9361117f09063ffa42fddb901e8f03cec7f07807
Author: Revvy <nothingtohide@revvy.de>
Date: Sat, 2 Sep 2023 22:23:23 -0400

update default compose

Diffstat:
Mdocker-compose.yml | 21+++++++++++++--------
Mdocker/README.md | 23++++++++++++++---------

2 files changed, 27 insertions(+), 17 deletions(-)

diff --git a/docker-compose.yml b/docker-compose.yml
@@ -7,16 +7,21 @@ services:
     ports:
       - 8080:8080
     environment:
-      - PUID=1000
-      - PGID=1000
-      - VERSION=docker
-      - TZ=America/New_York
       - CONFIG_GOOGLE_DOMAIN=com
-      - CONFIG_GOOGLE_LANGUAGE_SITE=en
-      - CONFIG_GOOGLE_LANGUAGE_RESULTS=en
-      - CONFIG_TEXT_SEARCH_ENGINE=google
+      - CONFIG_LANGUAGE=en
+      - CONFIG_NUMBER_OF_RESULTS=10
+      - CONFIG_INVIDIOUS_INSTANCE=https://invidious.snopyta.org
+      - CONFIG_DISABLE_BITTORRENT_SEARCH=false
+      - CONFIG_HIDDEN_SERVICE_SEARCH=false
       - CONFIG_INSTANCE_FALLBACK=true
-      - CONFIG_WIKIPEDIA_LANGUAGE=en
+      - CONFIG_RATE_LIMIT_COOLDOWN=25
+      - CONFIG_CACHE_TIME=20
+      - CONFIG_TEXT_SEARCH_ENGINE=google
+      - CURLOPT_PROXY_ENABLED=false
+      - CURLOPT_PROXY=192.0.2.53:8388
+      - CURLOPT_PROXYTYPE=CURLPROXY_HTTP
+      - CURLOPT_USERAGENT=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:116.0) Gecko/20100101 Firefox/116.0
+      - CURLOPT_FOLLOWLOCATION=true
     volumes:
       - ./nginx_logs:/var/log/nginx
       - ./php_logs:/var/log/php7
diff --git a/docker/README.md b/docker/README.md
@@ -56,21 +56,26 @@ services:
     ports:
       - 8080:8080
     environment:
-      - PUID=1000
-      - PGID=1000
-      - VERSION=docker
-      - TZ=America/New_York
       - CONFIG_GOOGLE_DOMAIN=com
-      - CONFIG_GOOGLE_LANGUAGE_SITE=en
-      - CONFIG_GOOGLE_LANGUAGE_RESULTS=en
-      - CONFIG_TEXT_SEARCH_ENGINE=google
+      - CONFIG_LANGUAGE=en
+      - CONFIG_NUMBER_OF_RESULTS=10
+      - CONFIG_INVIDIOUS_INSTANCE=https://invidious.snopyta.org
+      - CONFIG_DISABLE_BITTORRENT_SEARCH=false
+      - CONFIG_HIDDEN_SERVICE_SEARCH=false
       - CONFIG_INSTANCE_FALLBACK=true
-      - CONFIG_WIKIPEDIA_LANGUAGE=en
+      - CONFIG_RATE_LIMIT_COOLDOWN=25
+      - CONFIG_CACHE_TIME=20
+      - CONFIG_TEXT_SEARCH_ENGINE=google
+      - CURLOPT_PROXY_ENABLED=false
+      - CURLOPT_PROXY=192.0.2.53:8388
+      - CURLOPT_PROXYTYPE=CURLPROXY_HTTP
+      - CURLOPT_USERAGENT=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:116.0) Gecko/20100101 Firefox/116.0
+      - CURLOPT_FOLLOWLOCATION=true
     volumes:
       - ./nginx_logs:/var/log/nginx
       - ./php_logs:/var/log/php7
     restart: unless-stopped
-  watchtower:
+  watchtower: # Watchtower is not required but highly recommended, since Watchtower will re-pull and restart the LibreY container automatically whenever there's an update.
     image: containrrr/watchtower
     volumes:
       - /var/run/docker.sock:/var/run/docker.sock