This repository has been archived on 2026-07-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
docker/apps/searxng/docker-compose.yml
T

34 lines
1.1 KiB
YAML

services:
searxng-webapp:
image: searxng/searxng
profiles: ["apps","all","searxng"]
container_name: searxng-webapp
restart: always
read_only: true
tmpfs:
- /tmp
- /var
- /run
hostname: searxng.lan.ddnsgeek.com
networks:
- traefik
labels:
- "traefik.http.routers.searxng.rule=Host(`searxng.lan.ddnsgeek.com`)"
- "traefik.enable=true"
- "traefik.http.routers.searxng.entrypoints=websecure"
- "traefik.http.routers.searxng.tls.certresolver=myresolver"
- "io.portainer.accesscontrol.public"
# - "traefik.http.routers.searxng.middlewares=crowdsec@file,secHeaders@file,error-pages-middleware"
- "traefik.http.services.searxng.loadbalancer.server.port=8080"
- "wud.watch=true"
healthcheck:
test: ["CMD-SHELL", "python3 -c \"import urllib.request,sys; r=urllib.request.urlopen('http://127.0.0.1:8080/', timeout=3); sys.exit(0 if 200<=r.status<400 else 1)\""]
interval: 20s
timeout: 5s
retries: 8
start_period: 30s
#networks:
# traefik_reverse_proxy:
# external: true