All Projects → MrMarble → teledock

MrMarble / teledock

Licence: GPL-3.0 license
Telegram bot to control docker

Programming Languages

go
31211 projects - #10 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to teledock

Agent
The Portainer agent
Stars: ✭ 87 (+107.14%)
Mutual labels:  portainer
Docker Lnmp
🔥 Mac/Linux Docker LNMP
Stars: ✭ 189 (+350%)
Mutual labels:  portainer
stonehenge
Multi-project local development environment & toolset on Docker
Stars: ✭ 47 (+11.9%)
Mutual labels:  portainer
Cloudbox
Ansible-based solution for rapidly deploying a Docker containerized cloud media server.
Stars: ✭ 1,763 (+4097.62%)
Mutual labels:  portainer
Htpc Docker Standup
A simple docker-compose based configuration to stand up a new HTPC w/ Plex, Deluge, Sonarr, Radarr and more!
Stars: ✭ 160 (+280.95%)
Mutual labels:  portainer
docker-wyze-bridge
RTMP/RTSP/LL-HLS bridge for Wyze cams in a docker container
Stars: ✭ 1,146 (+2628.57%)
Mutual labels:  portainer
Infrared
An ultra lightweight minecraft reverse proxy and idle placeholder
Stars: ✭ 59 (+40.48%)
Mutual labels:  portainer
docker-iot-stack
💻 My personal Docker IoT Stack
Stars: ✭ 24 (-42.86%)
Mutual labels:  portainer
Swarmstack
A Docker swarm-based starting point for operating highly-available containerized applications.
Stars: ✭ 181 (+330.95%)
Mutual labels:  portainer
k8s
How to deploy Portainer inside a Kubernetes environment.
Stars: ✭ 53 (+26.19%)
Mutual labels:  portainer
Plexguide.com
Welcome to https://PlexGuide.com ~ Rapidly deploy multiple-hasty Docker Containers through Ansible with local or Unlimited Google HD Space!
Stars: ✭ 1,631 (+3783.33%)
Mutual labels:  portainer
Templates
App Templates used by Portainer
Stars: ✭ 155 (+269.05%)
Mutual labels:  portainer
rpi-nas
🌐👨‍💻💻 Setup your own NAS on a Raspberry Pi
Stars: ✭ 29 (-30.95%)
Mutual labels:  portainer
Iotstack
docker stack for getting started on IOT on the Raspberry PI
Stars: ✭ 1,383 (+3192.86%)
Mutual labels:  portainer
docker-box
A lightweight docker application platform for single servers.
Stars: ✭ 62 (+47.62%)
Mutual labels:  portainer
Dockerize Your Dev
Docker compose a VM to get LetsEncrypt / NGINX proxy auto provisioning, ELK logging, Prometheus / Grafana monitoring, Portainer GUI, and more...
Stars: ✭ 61 (+45.24%)
Mutual labels:  portainer
Gooby
Gooby: The ultimate infinite Plex media server using a VPS and Cloud service
Stars: ✭ 230 (+447.62%)
Mutual labels:  portainer
docker-compose-collection
These docker-compose allow you to deploy multiple services easily and quickly. You can use them with Portainer directly or via docker-compose commands.
Stars: ✭ 37 (-11.9%)
Mutual labels:  portainer
ethibox
Open-source web apps hoster
Stars: ✭ 130 (+209.52%)
Mutual labels:  portainer
addon-portainer
Portainer - Home Assistant Community Add-ons
Stars: ✭ 83 (+97.62%)
Mutual labels:  portainer

Teledock

Golang Quality Gate Status GitHub go.mod Go version Go Report Card Docker Pulls

Teledock: A simple telegram bot that allows a telegram's user to control a docker service.

Features

  • List containers
  • Start / Stop containers
  • Inspect containers
  • List stacks
  • See logs
  • List images

Build

go build

Running it

Requirements

Configuration environment variables

  • TELEDOCK_TOKEN: Telegram token. See https://core.telegram.org/bots
  • TELEDOCK_SUPERADMINS: Comma separated list of Telegram user ids, only users listed here will have access to the bot.

Docker

To simplify the management of the bot there is a Docker image ready to use. You'll only need to mount the docker socket as a volume and set the environment variables (see how). Example:

docker pull mrmarble/teledock # Only needed the first time or to update
docker run -d -v /var/run/docker.sock:/var/run/docker.sock \
--name teledock \
--env TELEDOCK_TOKEN=bot_token \
--env TELEDOCK_SUPERADMINS=tg_userid  \
mrmarble/teledock

TODO

  • Create container
  • Run command inside container
  • Warn the user if tries to stop the bot

Suggestions / Contribution

I made teledock because I need it but if you want to use it and there's something missing or not quite right, feel free to create an issue or a pull request if you know how to fix it yourself

License

This project is licensed under the GPL 3.0 License. See the LICENSE file for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].