From a79409b7afaeaae28a76a0ded3bea0b2523d0a66 Mon Sep 17 00:00:00 2001 From: Aaron Date: Sun, 6 Mar 2022 11:02:51 +0100 Subject: [PATCH] update README --- README.md | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index aa0bddb..f12b536 100644 --- a/README.md +++ b/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: @@ -21,4 +21,25 @@ services: 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 ``` \ No newline at end of file