DD-Bot

DD-Bot

Docker app from grtgbln's Repository

Overview

Discord bot to control Docker services via the Docker socket

DD_Bot

A Discord-Bot to start and stop Docker Containers, using the Docker Socket

Docker Image Size (tag) Docker Pulls GitHub commit activity GitHub

"Conveniently, the program itself can be used as a Docker Container" - Gadget Gabe
NEW: Now with commands to adjust permissions

Screenshots

Show Status of Containers Structured Settings File Send Command to Server Bot's reply to command

Features

  • Remotely start and stop Docker Containers using Discord Slash Commands
  • Easily grant Users and Groups on your Discord access to selected containers
  • Enable Friends to start specified Containers, e.g. Gameservers
    • Save Energy when noone is playing
  • DD_Bot is designed to work on the same machine in its own Container
  • Easy configuration through a single json file
  • Built using Discord.NET and Docker.DotNet

Requirements

Installation

Settings

Commands

FAQ/Troubleshooting

To-Do List

  • Initial release
  • Rewrite for docker sockets
  • Auto-updates for the settings.json Files
  • Commands to grant and revoke privileges to users and groups
  • Fully customizable messages for Discord
  • More statistics
  • (Maybe) Auto-Shutdown for certain containers
  • (Maybe) more command options
  • (Maybe) implement RCON to control gameservers

If you like my work, feel free to buy me a coffee


assaro

Requirements


        After installing the container, you will need to configure the bot via the `settings.json` file in the Config path: https://github.com/Assaro/DD_Bot/blob/master/sites/settings.md
    

Download Statistics

17,021
Total Downloads
201
This Month
790
Avg / Month

Total Downloads Over Time

Loading chart...

Details

Repository
assaro/ddbot:latest
Last Updated2023-04-06
First Seen2024-08-27

Runtime arguments

Network
bridge
Privileged
false

Template configuration

Config pathPathrw

Storage for config files

Target
/app/settings
Default
/mnt/user/appdata/dd_bot/config
Value
/mnt/user/appdata/dd_bot/config
Docker SocketPathro

Gives DDBot the ability to restart, stop, start, refresh and remove containers.

Target
/var/run/docker.sock
Value
/var/run/docker.sock