shbot/README.md
2022-03-06 11:03:27 +01:00

46 lines
No EOL
1.1 KiB
Markdown

# SECOND BOT
[![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
# Latest
## Build
```
docker build -t docker-registry.cxservers.com/aaron-riedel/shbot:latest .
```
## Run
```
sudo docker run -e 'TOKEN=' -e 'PREFIX=$' -t docker-registry.cxservers.com/aaron-riedel/shbot:latest
```
## Docker compose
```
services:
bot:
image: docker-registry.cxservers.com/aaron-riedel/shbot:latest
container_name: shbot
restart: unless-stopped
environment:
- 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
```