Sign inSign up

msghorbani27/telegram-docker-bot

By msghorbani27

•Updated 7 months ago

A minimal Telegram bot for Docker moderation.

Image
Languages & frameworks
Developer tools
Monitoring & observability
0

1.1K

msghorbani27/telegram-docker-bot repository overview

GitHub Repo License

⁠Run with Docker (DIND - Unrecommended)

Caution: Unsafe

To run the project with Docker, the host machine's docker sock will be mounted to the container. So It will be exposed and unsecure. Proceed with caution and awareness.

Clone the config.yml.example file, edit the variables and rename the file to config.yml

⁠docker run command
docker run -d --name telegram-docker-bot \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v $(pwd)/config.yml:/config.yml \
  msghorbani27/telegram-docker-bot:latest
⁠docker compose file
version: '3.8'

services:
  telegram-docker-bot:
    image: msghorbani27/telegram-docker-bot:latest
    container_name: telegram-docker-bot
    restart: unless-stopped
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - ./config.yml:/config.yml

Tag summary

Content type

Image

Digest

sha256:2809c0826…

Size

393 MB

Last updated

7 months ago

docker pull msghorbani27/telegram-docker-bot