mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-11 17:44:28 +05:00
15 lines
632 B
YAML
15 lines
632 B
YAML
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/Stockholm # Optional, defaults to UTC
|