git clone https://git.orudo.ru/trueold89/HellMBot.git && cd HellMBot/docker
```
*Edit the Dockerfile with your changes (Optional)*
*Build image:*
```shell
docker build -t hellmbot .
```
---
- **Create docker volume that will use to store DataBase:**
```shell
docker volume create hellm_db
```
---
- **Deploy using docker-cli:**
```shell
docker run \
--name HellMBot\
--restart=unless-stopped \
-v hellm_db:/etc/hellmbot/
-e BOT_TOKEN="insertyourbottokenhere" \
-e CLIENT_ID="insertyourclientidhere" \
-d git.orudo.ru/trueold89/hellmbot:latest
```
- **Or using docker-compose:**
```yml
services:
qbitdl_bot:
image: git.orudo.ru/trueold89/hellmbot:latest
container_name: HellMBot
volumes:
- hellm_db:/etc/hellmbot
restart: 'unless-stopped'
environment:
BOT_TOKEN: "insertyourbottokenhere"
CLIENT_ID: "insertyourclientidhere"
```
```shell
docker compose up -d
```
***
## Available system environment variables
***
-`BOT_TOKEN` - **Discord Bot TOKEN***[(How to get)](https://discordjs.guide/preparations/setting-up-a-bot-application.html#creating-your-bot)*
-`CLIENT_ID` - **Discord Application ID***[(How to get)](https://docs.discordadvertising.com/getting-your-application-id)*
-`DB_PATH` - **Path to SQLite DataBase file***(Optional | Highly recommended to change when running bot on Windows systems) (Default Value: "/etc/hellmbot/database.sqlite")*
-`CIRCLES_COUNT` - **Number of channels the bot creates when the "/create" command is activated.***(Optional)**(Default value: 9)*