- Dockerfile 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| Dockerfile | ||
| LICENSE | ||
| README.md | ||
| renovate.json | ||
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.