Skip to main content

Searx

version: '3.3'

services:

  filtron:
    container_name: filtron
    image: dalf/filtron
    restart: unless-stopped
    ports:
      - 4040:4040
      - 4041:4041
    command: -listen 0.0.0.0:4040 -api 0.0.0.0:4041 -target 0.0.0.0:8082
    volumes:
      - ./rules.json:/etc/filtron/rules.json:rw
    read_only: true
    cap_drop:
      - ALL
    network_mode: host

  searx:
    container_name: searx
    image: searxng/searxng:latest
    restart: unless-stopped
    command: -f
    volumes:
      - ./searx:/etc/searx:rw
    environment:
      - BIND_ADDRESS=0.0.0.0:8082
      - BASE_URL=https://myurl.com/
      - MORTY_URL=https://myurl.com/
      - MORTY_KEY=xxxxxxxxxx
    cap_drop:
      - ALL
    cap_add:
      - CHOWN
      - SETGID
      - SETUID
      - DAC_OVERRIDE
    network_mode: host

  morty:
    container_name: morty
    image: dalf/morty
    restart: unless-stopped
    ports:
      - 3000:3000
    command: -listen 0.0.0.0:3000 -timeout 6 -ipv6
    environment:
      - MORTY_KEY=xxxxxxxxxx
    logging:
      driver: none
    read_only: true
    cap_drop:
      - ALL
    network_mode: host

  searx-checker:
    container_name: searx-checker
    image: kiunknown/searx-checker		# original : searx/searx-checker
    restart: unless-stopped
    command: -cron -o html/data/status.json http://localhost:8082
    volumes:
      - searx-checker:/usr/local/searx-checker/html/data:rw
    network_mode: host

volumes:
  searx-checker: