2023-09-01 21:12:13 -07:00
version : "3"
2023-03-07 13:34:03 -08:00
services :
2023-08-02 07:18:21 -07:00
librey :
2023-08-31 07:22:55 -07:00
image : ghcr.io/ahwxorg/librey:latest
2023-08-02 07:18:21 -07:00
container_name : librey
2023-03-07 13:34:03 -08:00
network_mode : bridge
ports :
- 8080 : 8080
environment :
- CONFIG_GOOGLE_DOMAIN=com
2023-09-02 19:23:23 -07:00
- 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
2023-08-17 13:14:03 -07:00
- CONFIG_INSTANCE_FALLBACK=true
2023-09-02 19:23:23 -07:00
- 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
2023-03-07 13:34:03 -08:00
volumes :
- ./nginx_logs:/var/log/nginx
- ./php_logs:/var/log/php7
restart : unless-stopped
2023-09-02 13:33:48 -07:00
watchtower : # Watchtower is not required but highly recommended, since Watchtower will re-pull and restart the LibreY container automatically whenever there's an update.
2023-09-01 21:12:13 -07:00
image : containrrr/watchtower
volumes :
- /var/run/docker.sock:/var/run/docker.sock