update README
This commit is contained in:
parent
615b011c44
commit
a79409b7af
1 changed files with 26 additions and 5 deletions
31
README.md
31
README.md
|
@ -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
|
||||
```
|
Loading…
Reference in a new issue