37 lines
No EOL
878 B
YAML
37 lines
No EOL
878 B
YAML
services:
|
|
redis:
|
|
container_name: searxng-redis
|
|
image: docker.io/valkey/valkey:8-alpine
|
|
command: valkey-server --save 30 1 --loglevel warning
|
|
restart: unless-stopped
|
|
networks:
|
|
- searxng
|
|
volumes:
|
|
- /home/docker/searxng/valkey-data2:/data
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "1m"
|
|
max-file: "1"
|
|
|
|
searxng:
|
|
container_name: searxng
|
|
image: docker.io/searxng/searxng:latest
|
|
restart: unless-stopped
|
|
networks:
|
|
- searxng
|
|
ports:
|
|
- "8082:8080"
|
|
volumes:
|
|
- /home/docker/searxng/searxng:/etc/searxng:rw
|
|
- /home/docker/searxng/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"
|
|
|
|
networks:
|
|
searxng: |