update README

This commit is contained in:
Aaron Riedel 2022-03-06 11:02:51 +01:00
parent 615b011c44
commit a79409b7af
Signed by: aaron
GPG key ID: 643004654D40D577

View file

@ -2,16 +2,16 @@
[![pipeline status](https://git.cxservers.com/aaron-riedel/shbot/badges/master/pipeline.svg)](https://git.cxservers.com/aaron-riedel/shbot/-/commits/master)
der Bot für den SecondHemd Discord
# Build
# Latest
## Build
```
docker build -t docker-registry.cxservers.com/aaron-riedel/shbot:latest .
```
# Run
## Run
```
sudo docker run -e 'TOKEN=' -e 'PREFIX=$' -t docker-registry.cxservers.com/aaron-riedel/shbot
sudo docker run -e 'TOKEN=' -e 'PREFIX=$' -t docker-registry.cxservers.com/aaron-riedel/shbot:latest
```
# Docker compose
## Docker compose
```
services:
bot:
@ -22,3 +22,24 @@ services:
- TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- PREFIX=X
```
# Development
## Build
```
docker build -t docker-registry.cxservers.com/aaron-riedel/shbot:dev .
```
## Run
```
sudo docker run -e 'TOKEN=' -e 'PREFIX=$' -t docker-registry.cxservers.com/aaron-riedel/shbot:dev
```
## Docker compose
```
services:
bot:
image: docker-registry.cxservers.com/aaron-riedel/shbot:dev
container_name: shbot
restart: unless-stopped
environment:
- TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- PREFIX=X
```