added searxng

This commit is contained in:
2023-09-09 15:04:18 -05:00
parent 2d99cac068
commit a58c88cc15
3 changed files with 48 additions and 21 deletions

3
.env
View File

@@ -37,6 +37,9 @@ PIHOLE_WEBPORT=8000
WEBTHEME=default-dark
WEBPASSWORD=8PVkCY4FbyKWEACiG22^
#SEARXNG
SEARXNG_HOSTNAME=search.akanealw.com
#WIREGUARD
WG_HOST=162.222.10.80
WG_PASSWORD=wBJz7wuazWWmbfTGhM7v

View File

@@ -166,6 +166,42 @@ services:
volumes:
- ${DOCKERCONFIGS}/remotely/data:/remotely-data
searxng:
container_name: searxng
image: searxng/searxng:latest
environment:
- SEARXNG_BASE_URL=https://${SEARXNG_HOSTNAME:-localhost}/
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
ports:
- "192.168.1.4:8181:8080"
restart: always
volumes:
- ${DOCKERCONFIGS}/searxng:/etc/searxng:rw
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
searxng-redis:
container_name: searxng-redis
image: "redis:alpine"
command: redis-server --save "" --appendonly "no"
tmpfs:
- /var/lib/redis
cap_drop:
- ALL
cap_add:
- SETGID
- SETUID
- DAC_OVERRIDE
restart: always
shlink-server:
container_name: shlink-server
image: shlinkio/shlink:stable
@@ -305,26 +341,5 @@ services:
volumes:
- ${DOCKERCONFIGS}/wireguard:/etc/wireguard
whoogle-search:
container_name: whoogle-search
image: benbusby/whoogle-search
pids_limit: 50
mem_limit: 256mb
memswap_limit: 256mb
user: whoogle
security_opt:
- no-new-privileges
cap_drop:
- ALL
tmpfs:
- /config/:size=10M,uid=927,gid=927,mode=1700
- /var/lib/tor/:size=15M,uid=927,gid=927,mode=1700
- /run/tor/:size=1M,uid=927,gid=927,mode=1700
ports:
- 5000:5000
restart: always
volumes:
- ${DOCKERCONFIGS}/whoogle:/config
networks:
default:

9
searxng/settings.yml Normal file
View File

@@ -0,0 +1,9 @@
use_default_settings: true
server:
secret_key: "6f4b521aca4496d216735230706161160e34e0f51071130d5813bc2730b97ca3"
limiter: false
image_proxy: true
ui:
static_use_hash: true
redis:
url: redis://searxng-redis:6379/0