Skip to content

Latest commit

 

History

History
152 lines (108 loc) · 2.46 KB

README.md

File metadata and controls

152 lines (108 loc) · 2.46 KB

holderbotcover

HolderBot

Telegram bot for managing panels with unique and advanced capabilities.

Supported Panels

  • Marzneshin
  • Alireza
  • Hiddify
  • 3x-ui

Setup

Server and Docker Setup

Show Server Commands

1. Update the Server

sudo apt update && sudo apt upgrade -y

2. Install Docker

curl -fsSL https://get.docker.com | sh

Run the Bot

Show Run Commands

1. Create Directory and Download Files

mkdir -p /opt/erfjab/holderbot/data
curl -o /opt/erfjab/holderbot/docker-compose.yml https://raw.githubusercontent.com/erfjab/holderbot/master/docker-compose.yml
cd /opt/erfjab/holderbot
curl -o .env https://raw.githubusercontent.com/erfjab/holderbot/master/.env.example
nano .env

2. Pull Docker Image

docker compose pull

3. Start the Bot

docker compose up -d

After a few moments, start the bot.

Update the Bot

Show Update Commands

Make sure you're in the HolderBot directory:

cd /opt/erfjab/holderbot

Then update the bot:

docker compose pull && docker compose up -d

Manage the Bot

Show Manage Commands

Make sure you're in the HolderBot directory:

cd /opt/erfjab/holderbot
  • Restart the Bot:

    docker compose restart
  • Stop the Bot:

    docker compose down
  • View Logs:

    docker compose logs -f

How to change to GA mode?

Show GA Commands

Make sure you're in the HolderBot directory:

cd /opt/erfjab/holderbot
  • Open the docker compose:

    nano docker-compose.yml
  • Change tag:

    from:

    erfjab/holderbot:latest

    to:

    erfjab/holderbot:ga
  • pull docker:

    docker compose pull
  • start bot:

    docker compose up -d

Support

Telegram Channel: @ErfJabs
Telegram Group: @ErfJabGroup

Star the project:
Stargazers