Advertisement
Guest User

docker-compose.yaml

a guest
Mar 5th, 2021
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. version: '2.4'
  2.  
  3. services:
  4. sp0:
  5. image: octoprint/octoprint
  6. restart: unless-stopped
  7. ports:
  8. - 80:80
  9. devices:
  10. - /dev/ttyUSB0:/dev/ttyUSB0
  11. volumes:
  12. - ./sp0volume:/octoprint
  13.  
  14. sp1:
  15. image: octoprint/octoprint
  16. restart: unless-stopped
  17. ports:
  18. - 81:80
  19. devices:
  20. - /dev/ttyUSB1:/dev/ttyUSB1
  21. volumes:
  22. - ./sp1volume:/octoprint
  23.  
  24. sp2:
  25. image: octoprint/octoprint
  26. restart: unless-stopped
  27. ports:
  28. - 82:80
  29. devices:
  30. - /dev/ttyUSB2:/dev/ttyUSB2
  31. volumes:
  32. - ./sp2volume:/octoprint
  33.  
  34. sp3:
  35. image: octoprint/octoprint
  36. restart: unless-stopped
  37. ports:
  38. - 83:80
  39. devices:
  40. - /dev/ttyACM0:/dev/ttyACM0
  41. volumes:
  42. - ./sp3volume:/octoprint
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement