Be Your Own Cloud code · PART 3 — THE STACK

Chapter 15 SearXNG: A Private Search Engine

2 blocks · pp. 66–67 in the paperback

Going further than the chapter: SearXNG: Going Deeper

Deploying It

# p. 66

File /opt/stacks/searxng/docker-compose.yml
services:
  searxng:
    image: searxng/searxng:2026.9.29-4e2c1ea7f
    container_name: searxng
    restart: unless-stopped
    volumes:
      - ./searxng:/etc/searxng
    ports:
      - '8888:8080'

Choosing Your Engines

# p. 67

Add to /opt/stacks/searxng/searxng/settings.yml

SearXNG writes this file on first start. Add the engines block to the end of it.

engines:
  - name: google
    disabled: false
  - name: bing
    disabled: false
  - name: duckduckgo
    disabled: false

Reproduced exactly from Be Your Own Cloud, Chapter 15. The book explains what each line does and what to do when it doesn't work. About the book

Something here not working as the book describes? Tell the author.