spoolman: serve via traefik subpath /spoolman instead of container port 8000

This commit is contained in:
Markus Küffner
2024-05-30 22:10:15 +02:00
parent f30efbfdd9
commit 576214bbf2
4 changed files with 9 additions and 4 deletions

View File

@@ -11,6 +11,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
* moonraker: additional requirements are installed prior to upstream requirements, fixes https://github.com/Arksine/moonraker/issues/864
### Fixed
### Changed
* spoolman: serve via traefik subpath `/spoolman` instead of container port `8000`
### Removed
**Full Changelog**: https://github.com/mkuf/prind/compare/v1.13.0...vX.X.X

View File

@@ -202,7 +202,7 @@ The stack can then be started by specifying the `spoolman` profile.
docker compose --profile fluidd --profile spoolman up -d
```
Navigate to `http://<yourprinter>:8000` to access the spool manager webinterface.
Navigate to `http://<yourprinter>/spoolman` 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.

View File

@@ -21,4 +21,4 @@ cors_domains:
## Add your printers IP address or hostname to the server url.
#
# [spoolman]
# server: http://<yourprinter>:8000
# server: http://<yourprinter>/spoolman

View File

@@ -182,10 +182,14 @@ services:
- spoolman-db:/home/app/.local/share/spoolman
profiles:
- spoolman
ports:
- 8000:8000
environment:
SPOOLMAN_BASE_PATH: /spoolman
labels:
org.prind.service: spoolman
traefik.enable: true
traefik.http.services.octoprint.loadbalancer.server.port: 8000
traefik.http.routers.octoprint.rule: PathPrefix(`/spoolman`)
traefik.http.routers.octoprint.entrypoints: web
## Accompanying Services/Infra
##