Compose stack of discord bots with redis db
Go to file
2023-05-10 19:24:08 -07:00
.env.sample some documentation 2023-05-09 16:54:44 -07:00
.gitignore Initial commit 2023-05-09 15:12:13 -07:00
docker-compose.yml enable inventory service 2023-05-10 19:24:08 -07:00
README.md some documentation 2023-05-09 16:54:44 -07:00

Stateful Discord Bot Stack

note, some of the bots used here are in a private git repository. make sure you are using authenticated credentials to pull them into this repo

Set up

Clone each bot into this project directory, for example:

git clone https://git.ssh.surf/MrTuxedo/gwei-alert-bot/

Populate env vars for each bot in .env: see .env.sample for expected values.

Spin up bot stack

docker compose up -d

Updates

Sometimes you may want to rebuild a bot to incorporate upstream changes without interupting the other services in the stack. To do this:

cd gwei-alert-bot
git pull
cd ..
docker compose up gwei-alert-bot --build --force-recreate -d