add initial support for tor
This commit is contained in:
parent
2382e9fef5
commit
1ac909a748
@ -13,6 +13,9 @@ FOURGET_SHORT_DESCRIPTION="4get 4get 4get 4get"
|
|||||||
## Enable captcha protection, please see readme.
|
## Enable captcha protection, please see readme.
|
||||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.captcha.yml"
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.captcha.yml"
|
||||||
|
|
||||||
|
## Enable onion routing, this will make all searches using tor
|
||||||
|
#COMPOSE_FILE="$COMPOSE_FILE:compose.tor.yml"
|
||||||
|
|
||||||
INCLUDE_NEWS_LINK=false
|
INCLUDE_NEWS_LINK=false
|
||||||
INCLUDE_4GET_DONATION_LINK=true
|
INCLUDE_4GET_DONATION_LINK=true
|
||||||
INCLUDE_SOURCE_LINK=false
|
INCLUDE_SOURCE_LINK=false
|
49
compose.tor.yml
Normal file
49
compose.tor.yml
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
---
|
||||||
|
version: "3.11"
|
||||||
|
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
environment:
|
||||||
|
- FOURGET_PROXY_DDG="onion"
|
||||||
|
- FOURGET_PROXY_BRAVE="onion"
|
||||||
|
- FOURGET_PROXY_FB="onion"
|
||||||
|
- FOURGET_PROXY_GOOGLE="onion"
|
||||||
|
- FOURGET_PROXY_QWANT="onion"
|
||||||
|
- FOURGET_PROXY_MARGINALIA="onion"
|
||||||
|
- FOURGET_PROXY_MOJEEK="onion"
|
||||||
|
- FOURGET_PROXY_SC="onion"
|
||||||
|
- FOURGET_PROXY_SPOTIFY="onion"
|
||||||
|
- FOURGET_PROXY_WIBY="onion"
|
||||||
|
- FOURGET_PROXY_CURLIE="onion"
|
||||||
|
- FOURGET_PROXY_YT="onion"
|
||||||
|
- FOURGET_PROXY_YEP="onion"
|
||||||
|
- FOURGET_PROXY_PINTEREST="onion"
|
||||||
|
- FOURGET_PROXY_SEZNAM="onion"
|
||||||
|
- FOURGET_PROXY_NAVER="onion"
|
||||||
|
- FOURGET_PROXY_GREPPR="onion"
|
||||||
|
- FOURGET_PROXY_CROWDVIEW="onion"
|
||||||
|
- FOURGET_PROXY_MWMBL="onion"
|
||||||
|
- FOURGET_PROXY_FTM="onion"
|
||||||
|
- FOURGET_PROXY_IMGUR="onion"
|
||||||
|
- FOURGET_PROXY_YANDEX_W="onion"
|
||||||
|
- FOURGET_PROXY_YANDEX_I="onion"
|
||||||
|
- FOURGET_PROXY_YANDEX_V="onion"
|
||||||
|
networks:
|
||||||
|
- internal
|
||||||
|
volumes:
|
||||||
|
- banners:/var/www/html/4get/banner/
|
||||||
|
configs:
|
||||||
|
- source: onion_txt
|
||||||
|
target: /var/www/html/4get/data/proxies/onion.txt
|
||||||
|
tor:
|
||||||
|
image: luuul/tor:latest
|
||||||
|
|
||||||
|
configs:
|
||||||
|
onion_txt:
|
||||||
|
name: ${STACK_NAME}_onion_txt_${ROBOTS_TXT_VERSION}
|
||||||
|
file: onion.txt.tmpl
|
||||||
|
template_driver: golang
|
||||||
|
|
||||||
|
|
||||||
|
networks:
|
||||||
|
internal:
|
@ -40,7 +40,7 @@ services:
|
|||||||
|
|
||||||
configs:
|
configs:
|
||||||
robots_txt:
|
robots_txt:
|
||||||
name: ${STACK_NAME}_entrypoint_conf_${ROBOTS_TXT_VERSION}
|
name: ${STACK_NAME}_robots_txt${ROBOTS_TXT_VERSION}
|
||||||
file: robots.txt.tmpl
|
file: robots.txt.tmpl
|
||||||
template_driver: golang
|
template_driver: golang
|
||||||
about_html:
|
about_html:
|
||||||
|
1
onion.txt.tmpl
Normal file
1
onion.txt.tmpl
Normal file
@ -0,0 +1 @@
|
|||||||
|
socks5:tor:9050::
|
Loading…
x
Reference in New Issue
Block a user