From 0a68a122b4c8a46e82426cfeb09c9140c89e5d4a Mon Sep 17 00:00:00 2001 From: nune Date: Fri, 13 Dec 2024 00:09:41 +0000 Subject: [PATCH] Add librey/compose.yml --- librey/compose.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 librey/compose.yml diff --git a/librey/compose.yml b/librey/compose.yml new file mode 100644 index 0000000..c0d9ad9 --- /dev/null +++ b/librey/compose.yml @@ -0,0 +1,32 @@ +services: + librey: + image: ghcr.io/ahwxorg/librey:latest + container_name: librey + network_mode: bridge + ports: + - 2005:8080 + environment: + - CONFIG_GOOGLE_DOMAIN=com + - CONFIG_LANGUAGE=en + - CONFIG_NUMBER_OF_RESULTS=10 + - CONFIG_INVIDIOUS_INSTANCE=https://yt.ahwx.org + - CONFIG_DISABLE_BITTORRENT_SEARCH=false + - CONFIG_HIDDEN_SERVICE_SEARCH=false + - CONFIG_INSTANCE_FALLBACK=true + - CONFIG_RATE_LIMIT_COOLDOWN=25 + - CONFIG_CACHE_TIME=20 + - CONFIG_DISABLE_API=false + - CONFIG_TEXT_SEARCH_ENGINE=auto + - 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 # Disabled by default. These are the NGINX request logs. + - ./php_logs:/var/log/php83 # Enabled by default. These are the PHP error logs. + restart: unless-stopped + 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 \ No newline at end of file