From 6e75916b13adb0b37b2b7dabfbb6ceaddb5911a7 Mon Sep 17 00:00:00 2001 From: obervinov <49606362+obervinov@users.noreply.github.com> Date: Wed, 16 Nov 2022 00:41:37 +0400 Subject: [PATCH] modified: README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b671ca5..bdb4c3b 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ The vault is used for: | `BOT_NAME` | The name of the bot | `telegram-assistent` | | `BOT_VAULT_MOUNT_PATH` | The point of mounting secrets in the vault | `secretv2` | -## How to run with docker-compose +## How to run with docker-compose 1. Building and launching docker container with vault-server ```sh docker-compose up -d vault-server @@ -137,7 +137,7 @@ docker-compose up -d ${BOT_NAME} docker logs -f ${BOT_NAME} ``` -## How to run a bot locally without a docker +## How to run a bot locally without a docker **You need an already running and configured vault to use the approle and kv v2 engine** 1. Installing python requirements ```sh @@ -160,7 +160,7 @@ expot BOT_VAULT_APPROLE_SECRET_ID="change_me" python3 bot.py ``` -## How to build a docker image with a bot +## How to build a docker image with a bot ```sh export BOT_VERSION=v1.0.0 export BOT_NAME="telegram-assistent"