services: searxng: container_name: searxng image: docker.io/searxng/searxng:latest restart: always user: ${env['users']['searxng']}:${env['users']['searxng']} environment: - SEARXNG_BASE_URL=https://searx.${env['domain']} - SEARXNG_SECRET="${secrets['searxng']}" ports: - 127.0.0.1:${env['ports']['searxng']}:8080 volumes: - ./settings.yml:/etc/searxng/settings.yml:ro - ./limiter.toml:/etc/searxng/limiter.toml:ro valkey: container_name: searxng-valkey image: docker.io/valkey/valkey:7-alpine restart: always user: ${env['users']['searxng_valkey']}:${env['users']['searxng_valkey']} command: valkey-server --save 30 1 --loglevel warning volumes: - valkey:/data networks: default: enable_ipv6: true volumes: valkey: