Ygégé is a high performance indexer for YGG Torrent written in Rust. This guide explains how to deploy the official Docker image, configure the service and avoid YGG rate-limit by providing the correct credentials.
- Docker installed
- Docker Compose installed
- A valid YGG Torrent account
Create a folder ygege at the root of your project (or in the folder of your choice):
mkdir -p ygegeIn the ygege folder, create a config.json file with your YGG information:
{
"username": "your_ygg_username",
"password": "your_ygg_password",
"bind_ip": "0.0.0.0",
"bind_port": 8715,
"log_level": "debug"
}Important:
- **Fill in the fields
usernameandpasswordwith your YGG credentials correctly.- If the file is not present or incorrectly filled out, you may be rate-limit or blocked by YGG.
Place this file at the root of your project :
services:
ygege:
image: uwucode/ygege:latest
container_name: ygege
restart: unless-stopped
volumes:
- ./ygege/sessions:/app/sessions
- ./ygege/config.json:/app/config.json
ports:
- 8715:8715
healthcheck:
test: ["CMD-SHELL", "curl --fail http://localhost:8715/health || exit 1"]
interval: 1m30s
timeout: 20s
retries: 3
start_period: 10sInstead of config.json, you can use environment variables:
services:
ygege:
image: uwucode/ygege:latest
container_name: ygege
restart: unless-stopped
environment:
- YGG_USERNAME=your_ygg_username
- YGG_PASSWORD=your_ygg_password
- BIND_IP=0.0.0.0
- BIND_PORT=8715
- LOG_LEVEL=debug
volumes:
- ./ygege/sessions:/app/sessions
ports:
- 8715:8715
healthcheck:
test: ["CMD-SHELL", "curl --fail http://localhost:8715/health || exit 1"]
interval: 1m30s
timeout: 20s
retries: 3
start_period: 10sImportant:
- Fill in the fields
usernameandpasswordwith your YGG credentials correctly.- If the environment variables are missing or misconfigured, you may be rate-limited or blocked by YGG.
In the folder where you have your compose.yml:
docker compose up -dThe service will then be available on your machine's 8715 port.
- View the container logs:
docker logs -f ygege- The API or interface should be accessible to http://localhost:8715
- **Never share your
config.jsonfile with your YGG credentials. - The
sessionsfolder must remain persistent to avoid having to reconnect each time you restart. - In case of wrong identifiers or wrong settings, YGG may block or limit you.