-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcrane.yaml
48 lines (47 loc) · 994 Bytes
/
crane.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
groups:
default:
- pandoc
containers:
pandoc: &pa
build:
context: .
file: Dockerfile
image: marcelhuberfoo/pandoc-gitit
run: &par
cmd:
- pandoc
- --help
volume:
- $PWD:/data:rw
interactive: true
tty: true
exec:
interactive: true
tty: true
gitit: &gi
build:
context: image
file: Dockerfile
image: marcelhuberfoo/pandoc-gitit
run: &gir
cmd:
- gitit
- -f
- /data/gitit.conf
detach: true
env:
- GIT_COMMITTER_EMAIL=marcelhuberfoo@gmail.com
- GIT_COMMITTER_NAME=Marcel Huber
publish:
- 5001:5001
stop-signal: SIGINT
volume:
- gitit-data_caballogs:/caballogs:rw
- gitit-data_data:/data:rw
exec:
interactive: true
tty: true
gitit-shell: { <<: *gi, run: { <<: *gir, cmd: /bin/bash, detach, tty: true, interactive: true } }
volumes:
gitit-data_caballogs: null
gitit-data_data: null