1
0
mirror of https://github.com/tiyn/wiki.git synced 2025-10-30 18:01:15 +01:00
Files
wiki/wiki/docker/searx_-_searx.md
2024-11-26 06:15:03 +01:00

1.3 KiB

searx - searx

This is a Docker container for a searx meta-search machine. The official container and documentation was made by searx.

Set-up

Create the files rebuild.sh and docker-compose.yml at the same place. Change the settings according to your needs and run ./rebuild.sh afterwards.

Volumes

Set the following volumes with the -v tag.

Outside mount/volume name Container mount Description
searx_etc /etc/searx storage for etc
searx_log /var/log/uwsgi storage for logs

Ports

Set the following ports with the -p tag.

Container Port Recommended outside port Protocol Description
8080 8080 TCP WebUI

rebuild.sh

#!/bin/sh
docker-compose down
docker-compose up -d

docker-compose.yml

version: "2.1"
services:
  searx:
    image: searx/searx
    volumes:
      - etc:/etc/searx
      - log:/var/log/uwsgi
    restart: unless-stopped
    ports:
      - 8080:8080

volumes:
  etc:
    driver: local
  log:
    driver: local