-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose-build.yml
68 lines (60 loc) · 1.84 KB
/
docker-compose-build.yml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# docker-compose.yml
version: '3.4'
services:
latexml_base:
build:
# needs access to LaTeXML as well
context: docker
dockerfile: latexml_base/Dockerfile
target: latexml_base
args:
# Sometimes a job (e.g. latexml) may run endlessly, limit
# the amount of time a job can run.
TIMEOUT_SECONDS: 1200
# actually just image is needed, not the container
# will soon use profile: never
command: 'echo "Ok, that this container exits."'
latexml_git:
build:
# needs access to modules
context: .
dockerfile: docker/latexml_git/Dockerfile
target: latexml_git
depends_on:
- latexml_base
# actually just image is needed, not the container
# will soon use profile: never
command: 'echo "OK, that this container exits."'
volumes:
- ./.git/modules/src/LaTeXML:/.git
latexml:
build:
context: docker/LaTeXML
dockerfile: ../LaTeXML-Dockerfile
#dockerfile: release/docker/Dockerfile
target: latexml
args:
- WITH_TESTS=no
depends_on:
- latexml_git
# actually just image is needed, not the container
# will soon use profile: never
command: 'echo "OK, that this container exits."'
latexml_dmake:
build:
context: docker/latexml_dmake
dockerfile: Dockerfile
target: latexml_dmake
depends_on:
- latexml
texmlbus:
build:
context: docker/texmlbus
dockerfile: Dockerfile
networks:
texmlbus_net:
volumes:
# shared by latexml-dmake and texmlbus
optrun:
# mysql database
data-mysql: