services: add meta_search_engine

This commit is contained in:
tylen 2025-04-23 16:27:12 +00:00
parent 46f95d30a9
commit cf15971533
3 changed files with 63 additions and 0 deletions

View File

@ -0,0 +1,3 @@
SEARXNG_DATA_PATH="/home/vm-user/local-apps/meta_search_engine/searxnhg"
REDIS_DATA_PATH="/home/vm-user/local-apps/meta_search_engine/redis"
DAVYDOVCLOUD_LOGO_PATH="/home/vm-user/Media/app-assets/davydovcloud_searxng_logo.png"

View File

@ -0,0 +1,53 @@
services:
redis-search-engine:
container_name: meta_search_engine_redis_cache
image: docker.io/valkey/valkey:8-alpine
command: valkey-server --save 30 1 --loglevel warning
restart: unless-stopped
networks:
- searxng
volumes:
- ${REDIS_DATA_PATH}:/data
cap_drop:
- ALL
cap_add:
- SETGID
- SETUID
- DAC_OVERRIDE
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
searxng-search-engine:
container_name: meta_search_engine_gui
image: docker.io/searxng/searxng:latest
restart: unless-stopped
networks:
- searxng
ports:
- "${SVC_PORT_1}:8080"
volumes:
- ${SEARXNG_DATA_PATH}:/etc/searxng:rw
- type: bind
source: ${DAVYDOVCLOUD_LOGO_PATH}
target: /usr/local/searxng/searx/static/themes/simple/img/searxng.png
environment:
- SEARXNG_BASE_URL=http://search.davydovcloud.com/
- UWSGI_WORKERS=4
- UWSGI_THREADS=4
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
networks:
searxng:

View File

@ -57,6 +57,13 @@ services:
<<: *vm-tools-100-65 <<: *vm-tools-100-65
<<: *defaultServiceValues <<: *defaultServiceValues
- name: "meta_search_engine"
ports:
- 3003
host:
<<: *vm-tools-100-65
<<: *defaultServiceValues
# ================================ # ================================
# vm-netw0rk-100-75 # vm-netw0rk-100-75
# ================================ # ================================