shbot/README.md

46 lines
1.1 KiB
Markdown
Raw Normal View History

2021-12-09 17:30:58 +01:00
# SECOND BOT
2022-03-06 11:01:38 +01:00
[![pipeline status](https://git.cxservers.com/aaron-riedel/shbot/badges/master/pipeline.svg)](https://git.cxservers.com/aaron-riedel/shbot/-/commits/master)
2022-03-06 11:03:27 +01:00
2021-12-09 17:30:58 +01:00
der Bot für den SecondHemd Discord
2022-03-06 11:02:51 +01:00
# Latest
## Build
2021-12-09 17:30:58 +01:00
```
2022-03-06 10:43:44 +01:00
docker build -t docker-registry.cxservers.com/aaron-riedel/shbot:latest .
```
2022-03-06 11:02:51 +01:00
## Run
2022-03-06 10:43:44 +01:00
```
2022-03-06 11:02:51 +01:00
sudo docker run -e 'TOKEN=' -e 'PREFIX=$' -t docker-registry.cxservers.com/aaron-riedel/shbot:latest
2021-12-09 17:30:58 +01:00
```
2022-03-06 11:02:51 +01:00
## Docker compose
2021-12-09 17:30:58 +01:00
```
services:
bot:
2022-03-06 10:43:44 +01:00
image: docker-registry.cxservers.com/aaron-riedel/shbot:latest
2021-12-09 17:30:58 +01:00
container_name: shbot
restart: unless-stopped
environment:
- TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
2022-01-22 21:11:52 +01:00
- PREFIX=X
2022-03-06 11:02:51 +01:00
```
# 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
2021-12-09 17:30:58 +01:00
```