Librey, the new version of Librex
· 1.1 KiB · Text
Eredeti
version: "3.9"
services:
librey:
image: ghcr.io/ahwxorg/librey:latest
container_name: librey
network_mode: bridge
ports:
- 8245: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.
- /volume1/docker/librey/logs:/var/log/php83 # Enabled by default. These are the PHP error logs. create path docker/librey/logs
restart: on-failure:5
1 | version: "3.9" |
2 | services: |
3 | librey: |
4 | image: ghcr.io/ahwxorg/librey:latest |
5 | container_name: librey |
6 | network_mode: bridge |
7 | ports: |
8 | - 8245:8080 |
9 | environment: |
10 | - CONFIG_GOOGLE_DOMAIN=com |
11 | - CONFIG_LANGUAGE=en |
12 | - CONFIG_NUMBER_OF_RESULTS=10 |
13 | - CONFIG_INVIDIOUS_INSTANCE=https://yt.ahwx.org |
14 | - CONFIG_DISABLE_BITTORRENT_SEARCH=false |
15 | - CONFIG_HIDDEN_SERVICE_SEARCH=false |
16 | - CONFIG_INSTANCE_FALLBACK=true |
17 | - CONFIG_RATE_LIMIT_COOLDOWN=25 |
18 | - CONFIG_CACHE_TIME=20 |
19 | - CONFIG_DISABLE_API=false |
20 | - CONFIG_TEXT_SEARCH_ENGINE=auto |
21 | - CURLOPT_PROXY_ENABLED=false |
22 | - CURLOPT_PROXY=192.0.2.53:8388 |
23 | - CURLOPT_PROXYTYPE=CURLPROXY_HTTP |
24 | - CURLOPT_USERAGENT=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:116.0) Gecko/20100101 Firefox/116.0 |
25 | - CURLOPT_FOLLOWLOCATION=true |
26 | volumes: |
27 | # - ./nginx_logs:/var/log/nginx # Disabled by default. These are the NGINX request logs. |
28 | - /volume1/docker/librey/logs:/var/log/php83 # Enabled by default. These are the PHP error logs. create path docker/librey/logs |
29 | restart: on-failure:5 |
30 |