2023-11-22 17:55:29 +01:00
|
|
|
services:
|
|
|
|
redis:
|
|
|
|
container_name: searxng_redis
|
2023-11-29 09:49:51 +01:00
|
|
|
image: docker.io/library/redis:alpine
|
2023-11-29 10:13:49 +01:00
|
|
|
restart: always
|
2023-11-29 09:49:51 +01:00
|
|
|
command: redis-server --save 30 1 --loglevel warning
|
2023-12-05 22:05:41 +01:00
|
|
|
user: '999:999'
|
2023-11-22 17:55:29 +01:00
|
|
|
networks:
|
|
|
|
- searxng
|
2023-11-29 09:49:51 +01:00
|
|
|
volumes:
|
2023-12-05 22:05:41 +01:00
|
|
|
- redis:/data
|
|
|
|
|
|
|
|
searxng:
|
|
|
|
container_name: searxng
|
|
|
|
image: searxng/searxng:latest
|
|
|
|
restart: always
|
2023-11-22 17:55:29 +01:00
|
|
|
cap_drop:
|
|
|
|
- ALL
|
|
|
|
cap_add:
|
2023-12-05 22:05:41 +01:00
|
|
|
- CHOWN
|
2023-11-22 17:55:29 +01:00
|
|
|
- SETGID
|
|
|
|
- SETUID
|
2023-12-05 22:05:41 +01:00
|
|
|
environment:
|
|
|
|
- SEARXNG_BASE_URL=https://searx.viyurz.fr/
|
2023-11-22 17:55:29 +01:00
|
|
|
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
|
|
|
|
logging:
|
|
|
|
driver: "json-file"
|
|
|
|
options:
|
|
|
|
max-size: "1m"
|
|
|
|
max-file: "1"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
searxng:
|
|
|
|
ipam:
|
|
|
|
driver: default
|
2023-11-29 09:49:51 +01:00
|
|
|
|
|
|
|
volumes:
|
2023-12-05 22:05:41 +01:00
|
|
|
redis:
|