Skip to content

Portainer installation #266

Closed Answered by drlauridsen
rgnd971 asked this question in Q&A
Jan 15, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

You can create the container manually in Portainer, or you can try the following code as a stack in Portainer

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: /dockervolumes/spoolman # 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 change this line
    ports:
      # Map the host machine's port 7912 to the container's port 8000
      - "7912:80…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@rgnd971
Comment options

Answer selected by Donkie
Comment options

You must be logged in to vote
1 reply
@TexZeTech
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants