# Managed by Ansible (roles/searxng). Do not edit by hand. services: searxng: image: {{ searxng_image }} container_name: searxng restart: unless-stopped ports: - "{{ searxng_host_port }}:{{ searxng_container_port }}" volumes: - ./settings.yml:/etc/searxng/settings.yml:rw environment: - SEARXNG_BASE_URL={{ searxng_base_url }} cap_drop: - ALL cap_add: - CHOWN - SETGID - SETUID logging: driver: json-file options: max-size: "10m" max-file: "3"