services: redis: container_name: searxng_redis image: docker.io/library/redis:alpine restart: always command: redis-server --save 30 1 --loglevel warning user: '999:999' networks: - searxng volumes: - redis:/data searxng: container_name: searxng image: searxng/searxng:latest restart: always cap_drop: - ALL cap_add: - CHOWN - SETGID - SETUID environment: - SEARXNG_BASE_URL=https://searx.viyurz.fr/ - SEARXNG_SECRET=${SEARXNG_SECRET} networks: - searxng ports: - "[::1]:8083:8080" 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: redis: