3b1b-manim/docker-compose.yml
Devin Neal ed24541de6
update dockerfile, add flag for high quality rendering (#573)
Allow rendering in 1080p by passing `--high_quality` and update the Dockerfile and Compose file to install Manim directly into the container.
2019-06-02 18:58:33 -07:00

18 lines
547 B
YAML

version: '3.1'
services:
manim:
# comment this line if you build the image to prevent overwriting the tag
image: eulertour/manim:latest
# uncomment this line to build rather than pull the image
# build: .
entrypoint:
- manim
volumes:
- ${INPUT_DIR:?INPUT_DIR environment variable isn't set}:/tmp/input
- ${OUTPUT_DIR:?OUTPUT_DIR environment variable isn't set}:/tmp/output
environment:
- FILE_DIR=/tmp/output
- MEDIA_DIR=/tmp/output
working_dir: /tmp/input
network_mode: "none"