profiles: add mobileraker_companion

This commit is contained in:
Markus Küffner
2023-05-28 13:23:20 +02:00
parent c22aba229d
commit e72a848f2a
3 changed files with 24 additions and 0 deletions

View File

@@ -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:

4
config/mobileraker.conf Normal file
View File

@@ -0,0 +1,4 @@
[printer prind]
moonraker_uri: ws://moonraker:7125/websocket
moonraker_api_key: False
snapshot_uri: http://webcam:8080/snapshot

View File

@@ -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
##