Setup with Docker
Docker images are hosted on dock.mau.dev
- Create a directory (
mkdir maubot
) and enter it (cd maubot
). - Pull the docker image with
docker pull dock.mau.dev/maubot/maubot:<version>
. Replace<version>
with the version you want to run (e.g.latest
) - Run the container for the first time, so it can create a config file for you:
docker run --rm -v $PWD:/data:z dock.mau.dev/maubot/maubot:<version>
- Update the config to your liking.
- Run maubot:
docker run --restart unless-stopped -p 29316:29316 -v $PWD:/data:z dock.mau.dev/maubot/maubot:<version>
- The management interface should now be available at http://localhost:29316/_matrix/maubot or whatever you configured.
Upgrading
- Pull the new version (setup step 1).
- Restart the container.