Ensure your server is up to date:
sudo apt update && sudo apt upgrade -y
Install Docker using this command:
curl -fsSL https://get.docker.com | sh
docker-compose.yml
Create the necessary directory and download the docker-compose.yml
file:
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
.env
Download the example environment file:
curl -o .env https://raw.githubusercontent.com/erfjab/holderbot/master/.env.example
Edit the .env
file to add your Telegram Bot Token and API keys:
nano .env
Pull the latest Docker image for the bot:
docker compose pull
Start the bot in detached mode:
docker compose up -d
Check the status of running containers:
docker compose ps
To update the bot to the latest version:
Pull the latest Docker image:
docker compose pull
Restart the bot:
docker compose up -d
docker compose restart
docker compose down
docker compose logs -f
Feel free to ⭐ the project to show your support!