Automated Docker builds of Moon-Userbot with support for arm64 and including more dependencies.
  • Dockerfile 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-21 22:43:07 +01:00
Dockerfile chore: add opencontainer labels 2026-10-15 02:33:20 +02:00
LICENSE feat: initial release 2026-05-29 04:38:51 +02:00
README.md docs: Update README 2026-10-26 04:39:51 +01:00
renovate.json chore(config): migrate config renovate.json 2026-11-20 21:48:10 +00:00

Moon-Userbot-Docker

Automated Docker builds of Moon-Userbot with support for arm64 and including more dependencies.

This image gets built from the latest release daily.

Important

The version of this repository you are seeing is likely a mirror.

If you want to contribute any changes please head over to git.watn3y.de and register an account.

Why this exists

The official qbtaumai/moonuserbot image only gets built for amd64. Furthermore it doesn't include dependencies for modules I use. Specifically the ytdl module.

Running with Docker Compose

The Docker image is available on these registries.

Example compose file

services:
  Moon-Userbot:
    image: watn3y/moonuserbot:latest
    container_name: Moon-Userbot
    restart: unless-stopped
    volumes:
      - <yourPath>/data:/app/data
      - /dev/null:/app/modules/example.py # easy way to disable modules, throws errors but who cares
    environment:
      - API_ID=
      - API_HASH=
      - DATABASE_TYPE=sqlite3
      - DATABASE_NAME=data/db.sqlite3
      - STRINGSESSION=
      - PM_LIMIT=999
      - APIFLASH_KEY=
      - RMBG_KEY=
      - VT_KEY=
      - GEMINI_KEY=
      - COHERE_KEY=

Getting your Telegram credentials

API_ID and API_HASH

Get your API_ID and API_HASH from my.telegram.org. Feel free to follow this official guide.

STRINGSESSION

You can use this Docker Image to generate your string session.

docker run -it --rm watn3y/moonuserbot:latest string_gen.py

Credits and support

This is an unofficial image. All credit for the bot itself goes to the Moon-Userbot project. This repository only packages it into a Docker image.

  • Problems with the image (missing dependencies, arm64 builds, the compose example): open an issue on git.watn3y.de. Please don't bother the Moon-Userbot developers with these.
  • Questions about the bot itself (commands, modules, configuration): see the Moon-Userbot documentation, ask in their support chat or open an issue on GitHub.