-
Prepare configuration in
./configs/
-
Start using docker-compose
docker-compose up -d
-
Install requirements:
pip3 install -r requirements.txt
-
Prepare configuration in
./configs/
-
Run application:
python3 main.py
-
Build Docker image, it can take some time
docker build -t sal34_bot --no-cache .
-
Prepare configuration in
./configs/
-
Start container
docker run -d -it --name sal34_bot sal34_bot \ --mount type=bind,source="$(pwd)"/buildings,target=/opt/bot/buildings \ --mount type=bind,source="$(pwd)"/configs,target=/opt/bot/configs \ --mount type=bind,source="$(pwd)"/data,target=/opt/bot/data \ --mount type=bind,source="$(pwd)"/stats,target=/opt/bot/stats \ --mount type=bind,source="$(pwd)"/users,target=/opt/bot/users