shbot/README.md
Aaron Riedel a0aa24bb41
All checks were successful
continuous-integration/drone/push Build is passing
update README for gitea environment
2023-02-13 22:19:42 +01:00

46 lines
No EOL
901 B
Markdown

# SECOND BOT
[![Build Status](https://drone.ar21.de/api/badges/secondhemd/shbot/status.svg)](https://drone.ar21.de/secondhemd/shbot)
der Bot für den SecondHemd Discord
# Latest
## Build
```
docker build -t secondhemd/shbot:latest .
```
## Run
```
sudo docker run -e 'TOKEN=' -e 'PREFIX=$' -t secondhemd/shbot:latest
```
## Docker compose
```
services:
bot:
image: secondhemd/shbot:latest
container_name: shbot
restart: unless-stopped
environment:
- TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- PREFIX=X
```
# Development
## Build
```
docker build -t secondhemd/shbot:dev .
```
## Run
```
sudo docker run -e 'TOKEN=' -e 'PREFIX=$' -t secondhemd/shbot:dev
```
## Docker compose
```
services:
bot:
image: secondhemd/shbot:dev
container_name: shbot
restart: unless-stopped
environment:
- TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- PREFIX=X
```