-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
108 lines (99 loc) · 2.43 KB
/
docker-compose.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
version: "3.8"
services:
# tag::01_slides[]
build-slides:
image: "asciidoctor/docker-asciidoctor"
volumes:
- ./:/documents/
command:
- "asciidoctor-revealjs"
- "-a"
- "revealjsdir=https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.9.2"
- "01-slides/index.adoc"
- "-o"
- "docs/index.html"
# end::01_slides[]
build-pdf:
image: "asciidoctor/docker-asciidoctor"
volumes:
- ./:/documents/
command:
- "asciidoctor-pdf"
- "01-slides/index.adoc"
- "-o"
- "docs/bbl-docker-pour-le-developpeur.pdf"
build-epub:
image: "asciidoctor/docker-asciidoctor"
volumes:
- ./:/documents/
command:
- "asciidoctor-epub3"
- "01-slides/index.adoc"
- "-o"
- "docs/bbl-docker-pour-le-developpeur.epub"
build-docbook:
image: "asciidoctor/docker-asciidoctor"
volumes:
- ./:/documents/
command:
- "asciidoctor"
- "-b"
- "docbook"
- "01-slides/index.adoc"
- "-o"
- "docs/bbl-docker-pour-le-developpeur.docbook.xml"
# tag::01-rabbitmq[]
01-rabbitmq:
# http://localhost:15672
image: rabbitmq:3-management
container_name: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
# guest / guest
# end::01-rabbitmq[]
# tag::05-code-server[]
05-code-server:
# http://localhost:8094
image: registry.gitlab.com/crafting-software/online-code/js
user: code
ports:
- "8094:8080"
environment:
- PASSWORD=testing
# end::05-code-server[]
# tag::07_java_8[]
07-movie-rental-java-8:
image: "maven:3-openjdk-8-slim"
working_dir: "/java-app"
volumes:
- "./07-movie-rental-java-8:/java-app"
- "./.volumes/07-movie-rental-java-8-.m2:/root/.m2"
command:
- "mvn"
# - "-Dmaven.compiler.source=8"
- "clean"
- "test"
# end::07_java_8[]
# tag::07_java_17[]
07-movie-rental-java-17:
image: "maven:3-openjdk-17-slim"
working_dir: "/java-app"
volumes:
- "./07-movie-rental-java-17:/java-app"
- "./.volumes/07-movie-rental-java-17-.m2:/root/.m2"
command:
- "mvn"
# - "-Dmaven.compiler.source=17"
- "clean"
- "test"
# end::07_java_17[]
# tag::09_tiddlywiki[]
09-tiddlywiki:
# http://localhost:8082
image: "nicolaw/tiddlywiki"
ports:
- "8082:8080"
volumes:
- "./09-tiddlywiki:/var/lib/tiddlywiki"
# end::09_tiddlywiki[]