23 lines
506 B
YAML
23 lines
506 B
YAML
services:
|
|
searxng:
|
|
container_name: searxng
|
|
image: docker.io/searxng/searxng:latest
|
|
restart: unless-stopped
|
|
ports:
|
|
- "127.0.0.1:8080:8080"
|
|
volumes:
|
|
- ./searxng:/etc/searxng:rw
|
|
- searxng-data:/var/cache/searxng:rw
|
|
environment:
|
|
- SEARXNG_BASE_URL=https://${SEARXNG_HOSTNAME:-localhost}/
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "1m"
|
|
max-file: "1"
|
|
# dns:
|
|
# - 8.8.8.8
|
|
# - 8.8.4.4
|
|
|
|
volumes:
|
|
searxng-data:
|