ansible/playbooks/tasks/app/octoprint.yml

17 lines
502 B
YAML

# vim:ft=ansible:
# https://github.com/OctoPrint/octoprint-docker/blob/master/docker-compose.yml
- name: docker deploy octoprint
docker_container:
name: octoprint
image: octoprint/octoprint:latest
# Uncomment all this stuff when the camera shows up
# env:
# ENABLE_MJPG_STREAMER: true
devices:
- /dev/ttyACM0:/dev/ttyACM0
# - /dev/video0:/dev/video0
volumes:
- /etc/localtime:/etc/localtime:ro
- /data/octoprint:/octoprint
tags: [ docker, octoprint ]