Skip to content

Commit

Permalink
Add Spoolman Service (#91)
Browse files Browse the repository at this point in the history
* profile: add spoolman
* config: add spoolman to moonraker
* docs: add spoolman to readme and update unreleased changelog
  • Loading branch information
mkuf authored Mar 23, 2024
1 parent 64d540e commit d9b6317
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
<!--
## [Unreleased]
### Added
- profile: spoolman
### Fixed
### Changed
### Removed
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,16 @@ docker compose -f docker-compose.extra.link-obico.yaml run --rm link-obico
docker compose --profile mainsail --profile moonraker-obico up -d
```

#### Spoolman
[Spoolman by Donkie](https://github.com/Donkie/Spoolman) can be enabled via the `spoolman` Profile.

Uncomment the spoolman section in `moonraker.conf` and add your printers Hostname or IP to the server URL.
The stack can then be started by specifying the `spoolman` profile.
```bash
docker compose --profile fluidd --profile spoolman up -d
```

Navigate to `http://<yourprinter>:8000` to access the spool manager webinterface.

## Updating
Images are built daily and tagged with `latest` and the [git description](https://git-scm.com/docs/git-describe#_examples) of the remote repo.
Expand Down
8 changes: 7 additions & 1 deletion config/moonraker.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,10 @@ cors_domains:

[octoprint_compat]

[history]
[history]

## Uncomment the following lines if the stack is started with the spoolman profile.
## Add your printers IP address or hostname to the server url.
#
# [spoolman]
# server: http://<yourprinter>:8000
13 changes: 13 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,18 @@ services:
labels:
org.prind.service: moonraker-obico

spoolman:
image: ghcr.io/donkie/spoolman:latest
restart: unless-stopped
volumes:
- spoolman-db:/home/app/.local/share/spoolman
profiles:
- spoolman
ports:
- 8000:8000
labels:
org.prind.service: spoolman

## Accompanying Services/Infra
##

Expand Down Expand Up @@ -216,3 +228,4 @@ volumes:
driver_opts:
type: tmpfs
device: tmpfs
spoolman-db:

0 comments on commit d9b6317

Please sign in to comment.