49 lines
836 B
YAML
49 lines
836 B
YAML
version: '3.7'
|
|
|
|
services:
|
|
redis:
|
|
container_name: redis
|
|
image: redis:7-alpine
|
|
command: redis-server --save "" --appendonly "no"
|
|
restart: unless-stopped
|
|
networks:
|
|
- searxng
|
|
tmpfs:
|
|
- /var/lib/redis
|
|
cap_drop:
|
|
- ALL
|
|
cap_add:
|
|
- SETGID
|
|
- SETUID
|
|
- DAC_OVERRIDE
|
|
|
|
searxng:
|
|
container_name: searxng
|
|
image: searxng/searxng:2023.3.24-64fea2f9
|
|
restart: unless-stopped
|
|
networks:
|
|
- searxng
|
|
- proxy
|
|
volumes:
|
|
- /srv/docker/searxng:/etc/searxng:rw
|
|
env_file:
|
|
- env-searxng
|
|
cap_drop:
|
|
- ALL
|
|
cap_add:
|
|
- CHOWN
|
|
- SETGID
|
|
- SETUID
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "1m"
|
|
max-file: "1"
|
|
networks:
|
|
searxng:
|
|
ipam:
|
|
driver: default
|
|
proxy:
|
|
external: true
|
|
|