Normal Bot to tip tokens
!! Be aware that this docker-compose file does not push docker to a repo !!
Bot uses the following vars
MONGODB_USERNAME
-> Mongodb usernameMONGODB_PASSWORD
-> Mongodb passwordDISCORD_API_KEY
-> API Key from discord
Rely on provider, e.g. AWS' Parameter store
export MONGODB_USERNAME=<username>
export MONGODB_PASSWORD=<password>
export DISCORD_API_KEY=<api token>
Create a .env
file with contents of
MONGODB_USERNAME=<username>
MONGODB_PASSWORD=<password>
DISCORD_API_KEY=<api token>
In the case of exposing environmental vars through the .env file, docker-compose needs to run as
docker-compose --env-file <location of env file> -f docker-compose.yml up --build -d
In any other case:
docker-compose -f docker-compose.yml up --build -d
Executing docker ps
should report two dockers tipping_bot
and tipping_bot_db