A simple Discord bot that 'jump starts' Docker Compose containers via a voting system
git clone <your-repo>
cd jump-startbun installCopy and configure environment variables:
cp env.example .envvolumes:
- /var/run/docker.sock:/var/run/docker.sock
- /absolute/path/to/your/docker-compose.yml:/app/target-compose.yml:rodocker compose up -dAll configuration is done through environment variables:
| Variable | Description | Default |
|---|---|---|
DISCORD_TOKEN |
Discord bot token | Required |
DISCORD_GUILD_ID |
Discord server ID | Required |
REQUIRED_ROLE_ID |
Role ID that can vote | Required |
VOTES_REQUIRED |
Number of votes needed | 2 |
VOTE_TIMEOUT |
Vote timeout in seconds | 120 |
/request-vote- Creates a voting message in the current channel