Setup Instructions
Prerequisites
Section titled “Prerequisites”Before starting, ensure you have:
- A Linux server or VPS
- Docker and Docker Compose installed
- A Telegram Bot token from @BotFather
- Remnawave panel with API token and X_API_KEY
- PostgreSQL support (included in docker-compose)
Installation
Section titled “Installation”-
Clone the repository
Terminal window git clone https://github.com/Jolymmiels/remnawave-telegram-shopcd remnawave-telegram-shop -
Create environment file
Terminal window cp .env.sample .env -
Configure essential variables
Edit
.envwith your settings:Terminal window TELEGRAM_TOKEN=your_bot_token_hereDATABASE_URL=postgresql://user:password@postgres:5432/remnawaveREMNAWAVE_URL=https://your-panel.comREMNAWAVE_TOKEN=your_api_tokenX_API_KEY=tinyauth login:pass in base64ADMIN_TELEGRAM_ID=your_idPRICE_1=5PRICE_3=12PRICE_6=20PRICE_12=35 -
Start the bot
Terminal window docker compose up -d -
Verify installation
Terminal window docker compose logs -f remnawave-telegram-shop-botThe bot is ready when you see “Starting bot” message.
-
Test the bot Send
/startcommand to your bot on Telegram
Update Instructions
Section titled “Update Instructions”To update to the latest version:
docker compose pulldocker compose downdocker compose up -dVersion Support Matrix
Section titled “Version Support Matrix”| Remnawave | Bot |
|---|---|
| 1.6 | 2.3.6 |
| 2.0-2.1.9 | 3.2.4 |
| 2.2.* | 3.2.5+ |
Troubleshooting
Section titled “Troubleshooting”Bot not responding
Section titled “Bot not responding”- Check if container is running:
docker compose ps - Verify Telegram token is correct
- Review logs:
docker compose logs remnawave-telegram-shop-bot
Database connection error
Section titled “Database connection error”- Ensure PostgreSQL container is running
- Verify DATABASE_URL format
- Check database credentials
Remnawave API errors
Section titled “Remnawave API errors”- Verify REMNAWAVE_URL is accessible
- Check REMNAWAVE_TOKEN validity
- Test API connectivity from the container
Next Steps
Section titled “Next Steps”- Configure payment methods
- Set up environment variables
- Learn about admin commands