Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul authored Mar 4, 2018
1 parent e011533 commit 0916ed2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ Docker container is built on top of [Chloe image](https://github.com/PavelShar/C
To run foodometer bot all you need is to execute this command:

```
docker run --name foodometer -d -p 8880:80 -e WEB_HOOK=<your_web_hook> -e BOT_TOKEN=<your_bot_token> pavelshar/foodometer:latest
docker run --name foodometer -d -p 8880:80 -e WEB_HOOK=<your_web_hook> -e BOT_TOKEN=<your_bot_token> -e LOCALE=en pavelshar/foodometer:latest
```
`BOT_TOKEN` - obtained token from [@BotFather](https://telegram.me/BotFather)
`WEB_HOOK` - external https hook for server interaction
`WEB_HOOK` - external https hook for server interaction
`LOCALE` - bot locale - `en` and `ru` are supported

> Be accurate with port mappings: your internal `8880` should be mapped with your external `WEB_HOOK`
Expand Down

0 comments on commit 0916ed2

Please sign in to comment.