Skip to content

Sends Player Events from Minecraft Bedrock Docker Server to Gotify

License

Notifications You must be signed in to change notification settings

gigigig/bedrock-docker-gotify

Repository files navigation

bedrock-docker-gotify

Docker Build PowerShell lint

A Gotify Notification Service for Docker Minecraft Bedrock Servers. Notifies upon Connection or Disconnection of Players. No Minecraft Plugins or Addons required.

Showing Connection Messages in Gotify

Requirements

  • Minecraft Bedrock Server running in Docker
  • Running Minecraft Logger Container with read access to Docker socket on the same host

How to run

Docker Compose using ghcr.io/gigigig/bedrock-docker-gotify Image

Define the environment variables:

  • MGRAM_GOTIFY_URL "..." Set to your Gotify URL (https://gotify-server.example.com)

  • MGRAM_GOTIFY_TOKEN "..." Set to your Gotify Application Token

  • MGRAM_CONTAINER_NAME "..." Set the name of the Minecraft Bedrock container you want to monitor

  • Edit your docker compose file and add the notifier as a new service:

    bds-gotify-notifier:
        image: ghcr.io/gigigig/bedrock-docker-gotify:latest
        environment:
          MGRAM_GOTIFY_URL : "YOUR_GOTIFY_URL"
          MGRAM_GOTIFY_TOKEN: "YOUR_GOTIFY_TOKEN"
          MGRAM_CONTAINER_NAME: "YOUR_BEDROCK_CONTAINER_NAME"
        volumes:
          - /var/run/docker.sock:/var/run/docker.sock:ro
  • Run docker compose up -d --file docker-compose.yml to start your compose stack

See docker-compose.yml for a full example.

Build with Dockerfile

git clone https://github.com/gigigig/bedrock-docker-gotify/
cd bedrock-docker-gotify/
docker build .

About

Sends Player Events from Minecraft Bedrock Docker Server to Gotify

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages