vps/searxng/docker-compose.yaml

45 lines
840 B
YAML
Raw Normal View History

2023-11-22 17:55:29 +01:00
services:
redis:
container_name: searxng_redis
image: redis:alpine
command: redis-server --save "" --appendonly "no"
networks:
- searxng
tmpfs:
- /var/lib/redis
cap_drop:
- ALL
cap_add:
- SETGID
- SETUID
- DAC_OVERRIDE
searxng:
container_name: searxng
image: searxng/searxng:latest
networks:
- searxng
ports:
2023-11-25 17:40:25 +01:00
- "[::1]:8083:8080"
2023-11-22 17:55:29 +01:00
volumes:
- ./settings.yml:/etc/searxng/settings.yml
- ./limiter.toml:/etc/searxng/limiter.toml
environment:
- SEARXNG_BASE_URL=https://searx.viyurz.fr/
2023-11-22 17:55:29 +01:00
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
networks:
searxng:
ipam:
driver: default