Skip to content

Commit

Permalink
profiles: add mobileraker_companion
Browse files Browse the repository at this point in the history
  • Loading branch information
mkuf committed May 28, 2023
1 parent c22aba2 commit e72a848
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions config/mobileraker.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[printer prind]
moonraker_uri: ws://moonraker:7125/websocket
moonraker_api_key: False
snapshot_uri: http://webcam:8080/snapshot
11 changes: 11 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ services:
- mainsail
- klipperscreen
- moonraker-telegram-bot
- mobileraker_companion
labels:
org.prind.service: moonraker
traefik.enable: true
Expand Down Expand Up @@ -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
##

Expand Down

0 comments on commit e72a848

Please sign in to comment.