Skip to main content
Before you begin, check the requirements page.

Install Docker

Install Docker if it is not already installed.

Installation Options

Choose the installation method based on your configuration:

Use this method if the bot will run on the same server as the Remnawave panel. The bot connects to Remnawave through the internal Docker network.

Step 1: Create the project directory

Step 2: Download required files

Download the docker-compose.yml and .env files by running the following commands:

Step 3: Generate secrets

Generate secret keys by running the following commands:

Step 4: Configure the .env file

For more information about environment variables, see the Environment Variables page.

Open the .env file:

REMNAWAVE_HOST=remnawave uses the container name from the Remnawave Docker network.
Set the REMNAWAVE_TOKEN variable to your panel API token. You can create a token in Remnawave Settings → API Tokens.
REMNAWAVE_WEBHOOK_SECRET must match the value of WEBHOOK_SECRET_HEADER in the panel’s .env file.
If you are using Remnawave Reverse-Proxy by eGames, add a cookie for authorization. Example: REMNAWAVE_COOKIE=rEmnaprx=aBCDefgh1. How to get the cookie: instructions.

Step 5: Configure the webhook from the panel to the bot

This step is critically important for the bot to work correctly.

Open the Remnawave panel .env file:

Set WEBHOOK_ENABLED=true and set WEBHOOK_URL to your actual bot domain:

Replace bot.domain.com with your actual domain.

Find the WEBHOOK_SECRET_HEADER variable in the same file and copy its value:

The value ey1234567890qwertyuiopasdfghjklzxcvbnm is shown as an example.

Restart the Remnawave panel container to apply the changes:

Return to the bot’s .env file and paste the copied value into REMNAWAVE_WEBHOOK_SECRET:

REMNAWAVE_WEBHOOK_SECRET must match the value of WEBHOOK_SECRET_HEADER in the panel’s .env file.

Step 6: Start the bot

If everything is configured correctly, the bot will send a welcome message.
WARNING! A reverse proxy is required for Remnashop to work correctly. Do not expose services directly to the public internet. Use only 127.0.0.1 for Remnashop services.

You can now proceed to set up the reverse proxy.

Install Reverse Proxy

Installation and configuration of the reverse proxy