vps/searxng/docker-compose.yaml

46 lines
892 B
YAML
Raw Normal View History

2023-11-22 17:55:29 +01:00
services:
redis:
container_name: searxng_redis
image: docker.io/library/redis:alpine
restart: always
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
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/
- SEARXNG_SECRET=${SEARXNG_SECRET}
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
volumes:
2023-12-05 22:05:41 +01:00
redis: