Created
October 24, 2018 08:41
-
-
Save raphink/df848177263256608b277d844d4c02d2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
version: '2.0' | |
services: | |
showoff: | |
image: binford2k/showoff:0.19.6 | |
ports: | |
- "9090:9090" | |
volumes: | |
- ".:/var/cache/showoff" | |
command: showoff serve -f ${PROJECT}.json | |
weasyprint: | |
image: aquavitae/weasyprint | |
volumes: | |
- ".:/data" | |
- "./common/_fonts:/usr/local/share/fonts:ro" | |
links: | |
- "showoff:showoff" | |
# docker-compose exec weasyprint weasyprint -s /data/common/print.css http://showoff:9090/print /data/test.pdf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment