feat: add searxng service (metasearch engine)
This commit is contained in:
+2
-1
@@ -5,7 +5,7 @@ sync.ffs_lock
|
|||||||
# Copyparty
|
# Copyparty
|
||||||
*.hist/
|
*.hist/
|
||||||
|
|
||||||
# Volumes and data directories
|
# Volumes, configs and data directories
|
||||||
gitea/gitea-db/
|
gitea/gitea-db/
|
||||||
gitea/gitea-data/*
|
gitea/gitea-data/*
|
||||||
n8n/n8n-data/*
|
n8n/n8n-data/*
|
||||||
@@ -21,6 +21,7 @@ checkmk/checkmk/*
|
|||||||
downtify/Downtify_downloads
|
downtify/Downtify_downloads
|
||||||
headscale/config/*
|
headscale/config/*
|
||||||
headscale/data/*
|
headscale/data/*
|
||||||
|
searxng/core-config/settings.yml
|
||||||
|
|
||||||
# Steaming services files
|
# Steaming services files
|
||||||
streaming/jellyfin/*
|
streaming/jellyfin/*
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
# Read the documentation before using the `docker-compose.yml` file:
|
||||||
|
# https://docs.searxng.org/admin/installation-docker.html
|
||||||
|
#
|
||||||
|
# Additional ENVs:
|
||||||
|
# https://docs.searxng.org/admin/settings/settings_general.html#settings-general
|
||||||
|
# https://docs.searxng.org/admin/settings/settings_server.html#settings-server
|
||||||
|
|
||||||
|
# Use a specific version tag. E.g. "latest" or "2026.3.25-541c6c3cb".
|
||||||
|
#SEARXNG_VERSION=latest
|
||||||
|
|
||||||
|
# Listen to a specific address.
|
||||||
|
#SEARXNG_HOST=[::]
|
||||||
|
|
||||||
|
# Listen to a specific port.
|
||||||
|
SEARXNG_PORT=8080
|
||||||
@@ -0,0 +1,45 @@
|
|||||||
|
# Read the documentation before using the `docker-compose.yml` file:
|
||||||
|
# https://docs.searxng.org/admin/installation-docker.html
|
||||||
|
services:
|
||||||
|
core:
|
||||||
|
container_name: searxng-core
|
||||||
|
image: docker.io/searxng/searxng:${SEARXNG_VERSION:-latest}
|
||||||
|
restart: unless-stopped
|
||||||
|
# ports:
|
||||||
|
# - ${SEARXNG_PORT:-8080}
|
||||||
|
env_file: .env
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.services.searxng.loadbalancer.server.port=8080"
|
||||||
|
# Prod Router
|
||||||
|
- "traefik.http.routers.searxng.rule=Host(`s.forust.xyz` || `searxng.forust.xyz`)"
|
||||||
|
- "traefik.http.routers.searxng.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.searxng.tls=true"
|
||||||
|
# Local Router
|
||||||
|
- "traefik.http.routers.searxng-local.rule=Host(`s.workstation.internal` || `searxng.workstation.internal`)"
|
||||||
|
- "traefik.http.routers.searxng-local.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.searxng-local.tls=true"
|
||||||
|
# Dev Router
|
||||||
|
- "traefik.http.routers.searxng-dev.rule=Host(`searxng.gigaforust.internal`)"
|
||||||
|
- "traefik.http.routers.searxng-dev.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.searxng-dev.tls=true"
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
volumes:
|
||||||
|
- ./core-config/:/etc/searxng/:Z
|
||||||
|
- core-data:/var/cache/searxng/
|
||||||
|
|
||||||
|
valkey:
|
||||||
|
container_name: searxng-valkey
|
||||||
|
image: docker.io/valkey/valkey:9-alpine
|
||||||
|
command: valkey-server --save 30 1 --loglevel warning
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
- valkey-data:/data/
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
core-data:
|
||||||
|
valkey-data:
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user