update README

This commit is contained in:
ace 2021-08-01 15:05:34 +03:00
parent 8f01088045
commit 7936d88c57
No known key found for this signature in database
GPG Key ID: 2E47CC17BA7F8CF0

View File

@ -38,17 +38,17 @@ github-release-bot \
- datadir - optional, dir for storing files with latest releases, default "data"
## Docker
### Docker build
```ShellSession
make build
```
### Docker run
```ShellSession
docker run -d -v ./config.yaml:/opt/config.yaml -v ./data:/opt/data registry.0xace.cc/ghp/github-release-bot:latest \
docker run -d -v ./config.yaml:/opt/config.yaml -v ./data:/opt/data registry.geekhome.org/ghp/github-release-bot:latest \
-e TOKEN=${TOKEN} -e CHATID=${CHATID} \
-e CONFIG=${CONFIG} -e DATADIR=${DATADIR} \
-e INTERVAL=${INTERVAL} -e SPREAD=${SPREAD}
```
### Docker build
```ShellSession
make build
```
### Docker params
OS ENV used to pass arguments:
- TOKEN - required, Telegram token