vps/roles/searxng/templates/docker-compose.yaml

26 lines
707 B
YAML
Raw Normal View History

2023-11-22 17:55:29 +01:00
services:
2024-08-07 12:49:57 +02:00
valkey:
container_name: searxng-valkey
image: docker.io/valkey/valkey:7-alpine
restart: always
2024-08-07 12:49:57 +02:00
user: {{ users['searxng_valkey'] }}:{{ users['searxng_valkey'] }}
command: valkey-server --save 30 1 --loglevel warning
volumes:
2024-08-07 12:49:57 +02:00
- valkey:/data
2023-12-05 22:05:41 +01:00
searxng:
container_name: searxng
image: docker.io/searxng/searxng:latest
2023-12-05 22:05:41 +01:00
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:
- 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
volumes:
2024-08-07 12:49:57 +02:00
valkey: