Files
mes_docker/spoolman/docker-compose.yaml

19 lines
768 B
YAML

#https://github.com/Donkie/Spoolman/wiki/Installation
# https://moonraker.readthedocs.io/en/latest/configuration/#spoolman
#version: '3.8'
services:
spoolman:
image: ghcr.io/donkie/spoolman:latest
restart: unless-stopped
volumes:
# Mount the host machine's ./data directory into the container's /home/app/.local/share/spoolman directory
- type: bind
source: ./data # This is where the data will be stored locally. Could also be set to for example `source: /home/pi/printer_data/spoolman`.
target: /home/app/.local/share/spoolman # Do NOT modify this line
ports:
# Map the host machine's port 7912 to the container's port 8000
- "7912:8000"
environment:
- TZ=Europe/Paris # Optional, defaults to UTC