MineSearch is a powerful search engine for Minecraft servers. It scans and indexes active servers and nicknames so you can easily find a server and crash it.
Warning
RUNNING THE WORKER MAY RESULT IN YOUR SERVER BEING BLOCKED DUE TO ABUSIVE SCANNING ACTIVITIES. MAKE SURE YOU UNDERSTAND THE RISKS INVOLVED.
Important
If you want to run the worker on a different server, please refer to the separate documentation here: Worker Setup Guide.
Create a .env file in the root directory and add the following values:
POSTGRES_USER=user
POSTGRES_PASSWORD=password
POSTGRES_DB=mine_search_db
BACKEND_PASSWORD=password
THREADS=900
ONLY_UPDATE=false- Docker installed
- Docker Compose installed
git clone https://github.com/kauri-off/mine_search
cd mine_searchcurl --proto '=https' --tlsv1.2 -LsSf https://github.com/diesel-rs/diesel/releases/latest/download/diesel_cli-installer.sh | shTo verify the installation, run:
diesel --versiondocker compose up postgres -dexport $(grep -v '^#' .env | xargs)
export DATABASE_URL="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@127.0.0.1:5432/${POSTGRES_DB}"cd db_schema
~/.cargo/bin/diesel migration runYou can run the application in two ways: by building the code locally or by using prebuilt images from GitHub Container Registry (GHCR).
You don't have to modify anything; Docker Compose is already configured to build locally.
Run the application:
docker compose up -d --buildModify the docker-compose.yml file to use GHCR images:
services:
worker:
# build:
# context: .
# dockerfile: worker.Dockerfile
image: ghcr.io/kauri-off/mine_search/worker:latest
backend:
# build:
# context: .
# dockerfile: backend.Dockerfile
image: ghcr.io/kauri-off/mine_search/backend:latestRun the application:
docker compose up -dIf you have a domain and want to configure it for reverse proxy, run:
./setup.shThis will update the domain name in Nginx and Caddy configuration files.
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.