26 lines
639 B
YAML
26 lines
639 B
YAML
services:
|
|
searxng:
|
|
image: searxng/searxng@sha256:85492ba800a861e3e8ff6014c430e81369fe6ca766a9990595f616d1ce95b272
|
|
container_name: searxng
|
|
restart: unless-stopped
|
|
mem_limit: 512m
|
|
networks:
|
|
- searxng-net
|
|
ports:
|
|
- "127.0.0.1:8888:8080"
|
|
- "100.94.90.119:8888:8080"
|
|
volumes:
|
|
- ./searxng:/etc/searxng:rw
|
|
environment:
|
|
- SEARXNG_BASE_URL=http://127.0.0.1:8888/
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:8080/healthz"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 5s
|
|
|
|
networks:
|
|
searxng-net:
|
|
name: searxng-net
|