2023-11-22 17:55:29 +01:00
|
|
|
services:
|
|
|
|
redis:
|
2024-02-12 11:40:26 +01:00
|
|
|
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
|
2024-02-17 19:01:04 +01:00
|
|
|
user: {{ users['searxng_redis'] }}:{{ users['searxng_redis'] }}
|
2023-11-29 09:49:51 +01:00
|
|
|
command: redis-server --save 30 1 --loglevel warning
|
|
|
|
volumes:
|
2023-12-05 22:05:41 +01:00
|
|
|
- redis:/data
|
|
|
|
|
|
|
|
searxng:
|
|
|
|
container_name: searxng
|
|
|
|
image: searxng/searxng:latest
|
|
|
|
restart: always
|
|
|
|
environment:
|
2024-02-17 19:01:04 +01:00
|
|
|
- SEARXNG_BASE_URL=https://searx.{{ domain }}
|
|
|
|
- SEARXNG_SECRET={{ searxng_secrets['searxng_secret'] }}
|
2023-11-22 17:55:29 +01:00
|
|
|
ports:
|
2024-02-18 22:19:55 +01:00
|
|
|
- 127.0.0.1:{{ ports['searxng'] }}: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"
|
|
|
|
|
2023-11-29 09:49:51 +01:00
|
|
|
volumes:
|
2023-12-05 22:05:41 +01:00
|
|
|
redis:
|