Skip to content

Instantly share code, notes, and snippets.

@arnehilmann
Last active January 20, 2019 11:44
Show Gist options
  • Save arnehilmann/8dc83c67acc96eacca1ce5d7c1150026 to your computer and use it in GitHub Desktop.
Save arnehilmann/8dc83c67acc96eacca1ce5d7c1150026 to your computer and use it in GitHub Desktop.
test if arrows get rendered on fourth slide
version: "3.2"
services:
markdeck:
image: "arne/markdeck-pandoc:0.34"
user: "$MARKDECK_USER"
volumes:
- type: bind
source: ./
target: /source
read_only: true
- type: bind
source: ./deck
target: /target
web:
image: "arne/markdeck-liveserver:0.2"
ports:
- "8080:8080"
volumes:
- type: bind
source: ./deck
target: /target
depends_on: [markdeck]
pdf:
image: "arne/markdeck-decktape:0.5"
volumes:
- type: bind
source: ./deck
target: /slides
shm_size: 1G
depends_on: [markdeck, web]
standalone:
image: "arne/markdeck-standalone:0.2"
volumes:
- type: bind
source: ./deck
target: /target
depends_on: [web]
helper:
image: "arne/markdeck-helper:0.2"
ports:
- "8081:8081"
a2sketch:
image: "arne/a2sketch:0.11"
volumes:
- type: bind
source: ./a2s-custom-types
target: /custom-types
read_only: true
title pdf slideNumber controls transition backgroundTransition
mytitle
myfile.pdf
true
false
slide
fade

one

#--------------------.           #---------------------.
|                    |           |                     |
| Git                |   Push    | Docker build        |
|                    +---------->+                     |
|                    |           |                     |
|                    |           |                     |
'--------------------#           '----------+----------#
                                            ^
                                            | watch
                                 #----------+----------.
                                 |                     |
                                 | Flux                |
                                 |                     |
                                 |                     |
                                 |                     |
                                 '----------+----------#
                                            |
                                            v trigger
                                 #----------+----------.            #-----------------.
                                 |                     |            |                 |
                                 | Helm                | deploy     | Service         |
                                 |                     +----------->+                 |
                                 |                     |            |                 |
                                 |                     |            |                 |
                                 '---------------------#            '-----------------#

two

#--------------------.           #---------------------.
|                    |           |                     |
| Git                |   Push    | Docker build        |
|                    +---------->+                     |
|                    |           |                     |
|                    |           |                     |
'--------------------#           '----------+----------#
                                            ^
                                            | watch
                                 #----------+----------.
                                 |                     |
                                 | Flux                |
                                 |                     |
                                 |                     |
                                 |                     |
                                 '----------+----------#
                                            |
                                            v trigger
                                 #----------+----------.            #-----------------.
                                 |                     |            |                 |
                                 | Helm                | deploy     | Service         |
                                 |                     +----------->+                 |
                                 |                     |            |                 |
                                 |                     |            |                 |
                                 '---------------------#            '-----------------#

three

#--------------------.           #---------------------.
|                    |           |                     |
| Git                |   Push    | Docker build        |
|                    +---------->+                     |
|                    |           |                     |
|                    |           |                     |
'--------------------#           '----------+----------#
                                            ^
                                            | watch
                                 #----------+----------.
                                 |                     |
                                 | Flux                |
                                 |                     |
                                 |                     |
                                 |                     |
                                 '----------+----------#
                                            |
                                            v trigger
                                 #----------+----------.            #-----------------.
                                 |                     |            |                 |
                                 | Helm                | deploy     | Service         |
                                 |                     +----------->+                 |
                                 |                     |            |                 |
                                 |                     |            |                 |
                                 '---------------------#            '-----------------#

four

#--------------------.           #---------------------.
|                    |           |                     |
| Git                |   Push    | Docker build        |
|                    +---------->+                     |
|                    |           |                     |
|                    |           |                     |
'--------------------#           '----------+----------#
                                            ^
                                            | watch
                                 #----------+----------.
                                 |                     |
                                 | Flux                |
                                 |                     |
                                 |                     |
                                 |                     |
                                 '----------+----------#
                                            |
                                            v trigger
                                 #----------+----------.            #-----------------.
                                 |                     |            |                 |
                                 | Helm                | deploy     | Service         |
                                 |                     +----------->+                 |
                                 |                     |            |                 |
                                 |                     |            |                 |
                                 '---------------------#            '-----------------#

five

six

#!/bin/sh
DIR=./deck/
mkdir -p $DIR
if [ $(stat -c "%u" $DIR) -eq 0 ]; then
echo "[ERR] The output folder '$DIR' MUST be owned by you!"
echo "[ERR] Please change ownership to yourself ('sudo chown $USER $DIR'), or"
echo "[ERR] remove '$DIR' completely ('sudo rm -rf $DIR')."
exit 1
fi
MARKDECK_USER=$(stat -c "%u:%g" $DIR) docker-compose up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment