diff --git a/README.md b/README.md index a11a630..67f791f 100644 --- a/README.md +++ b/README.md @@ -121,6 +121,15 @@ See the [configuration reference](https://github.com/nlef/moonraker-telegram-bot docker compose --profile mainsail --profile moonraker-telegram-bot up -d ``` +#### mobileraker_companion +[mobileraker_companion by Clon1998](https://github.com/Clon1998/mobileraker_companion) can be enabled via the `mobileraker_companion` Profile. + +The default configuration provided with this repository contains everything needed to start the service and receive notifications via the [Mobileraker App](https://github.com/Clon1998/mobileraker). See the [configuration reference](https://github.com/Clon1998/mobileraker_companion#companion---config) for further configuration Options. + +``` +docker compose --profile mainsail --profile mobileraker_companion up -d +``` + ## Updating Images are built daily and tagged with latest and the first seven chars of the commit-sha of the remote repo. Example: diff --git a/config/mobileraker.conf b/config/mobileraker.conf new file mode 100644 index 0000000..910cfa4 --- /dev/null +++ b/config/mobileraker.conf @@ -0,0 +1,4 @@ +[printer prind] +moonraker_uri: ws://moonraker:7125/websocket +moonraker_api_key: False +snapshot_uri: http://webcam:8080/snapshot \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index 2e22cb3..c673a3c 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -69,6 +69,7 @@ services: - mainsail - klipperscreen - moonraker-telegram-bot + - mobileraker_companion labels: org.prind.service: moonraker traefik.enable: true @@ -154,6 +155,16 @@ services: labels: org.prind.service: moonraker-telegram-bot + mobileraker_companion: + image: ghcr.io/clon1998/mobileraker_companion:latest + restart: unless-stopped + profiles: + - mobileraker_companion + volumes: + - ./config:/opt/printer_data/config + labels: + org.prind.service: mobileraker_companion + ## Accompanying Services/Infra ##