-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
152 lines (135 loc) · 3.15 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
version: "2.4"
services:
nginx:
extends:
file: ./docker/nginx/docker-compose.yml
service: nginx
volumes:
- ./docker/nginx/content:/content
- ./docker/nginx/config/nginx.conf:/etc/nginx/nginx.conf
createcert:
extends:
file: ./docker/traefik/docker-compose.yml
service: createcert
volumes:
- ./docker/traefik/certs:/root/.local/share/mkcert
createcertpkcs12:
extends:
file: ./docker/traefik/docker-compose.yml
service: createcertpkcs12
depends_on:
- createcert
volumes:
- ./docker/traefik/certs:/export
traefik:
extends:
file: ./docker/traefik/docker-compose.yml
service: traefik
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
# Persist certificates, so we can restart as often as needed
- ./docker/traefik/certs:/letsencrypt
- ./docker/traefik/config/config.yml:/etc/traefik/dynamic_conf/conf.yml:ro
depends_on:
- createcert
- createcertpkcs12
seleniumhub:
extends:
file: ./docker/selenium/docker-compose.yml
service: seleniumhub
depends_on:
- traefik
selenium-node-chrome:
extends:
file: ./docker/selenium/docker-compose.yml
service: selenium-node-chrome
depends_on:
- seleniumhub
author:
extends:
file: ./docker/aem/docker-compose.yml
service: author
authordeploy:
extends:
file: ./docker/aem/docker-compose.yml
service: authordeploy
volumes:
- "./:/build/source"
- "~/.m2:/build/.m2"
profiles:
- dodeploy
depends_on:
- author
publish:
extends:
file: ./docker/aem/docker-compose.yml
service: publish
depends_on:
- author
publishdeploy:
extends:
file: ./docker/aem/docker-compose.yml
service: publishdeploy
volumes:
- "./:/build/source"
- "~/.m2:/build/.m2"
profiles:
- dodeploy
depends_on:
- author
dispatcher:
extends:
file: ./docker/aem/docker-compose.yml
service: dispatcher
depends_on:
- publish
testing:
extends:
file: ./docker/testing/docker-compose.yml
service: testing
profiles:
- dotest
working_dir: /build/geb-aem-testing/gebaemtesting-testing
volumes:
- "./:/build/geb-aem-testing"
- "~/.m2:/build/.m2"
depends_on:
- author
- seleniumhub
- testingprep
testingprep:
extends:
file: ./docker/testing/docker-compose.yml
service: testingprep
volumes:
- ./docker/testing/playbooks:/ansible/playbooks
profiles:
- dotest
depends_on:
- author
- seleniumhub
testingcheck:
extends:
file: ./docker/testing/docker-compose.yml
service: testingcheck
volumes:
- ./:/build
profiles:
- dotest
volumes:
- ./:/build
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./docker/testing/scripts/gettestresult.sh:/test.sh
depends_on:
- author
- seleniumhub
networks:
seleniumgrid:
author-network:
publish-network:
dispatcher-network:
internal:
volumes:
author-data:
publish-data:
dispatcher-data: