diff --git a/spoolman/docker-compose.yaml b/spoolman/docker-compose.yaml new file mode 100644 index 0000000..4775882 --- /dev/null +++ b/spoolman/docker-compose.yaml @@ -0,0 +1,17 @@ +#https://github.com/Donkie/Spoolman/wiki/Installation + +#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