-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (49 loc) · 1.27 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
version: "3.5"
services:
sut:
image: testeditor/angular-sut:snapshot
ports:
- "4300:4200"
gitrepo:
image: testeditor/git-examples:snapshot
ports:
- "2222:22"
healthcheck:
test: ["CMD-SHELL", "/git-server/healthcheck.sh"]
interval: 1m
timeout: 10s
retries: 3
persistence:
image: testeditor/persistence:snapshot
ports:
- "9080:8080"
environment:
KNOWN_HOSTS_CONTENT: "$KNOWN_HOSTS_CONTENT"
ADD_KNOWN_HOSTS_DOMAIN: "gitrepo:22"
GIT_PRIVATE_KEY: "$GIT_PRIVATE_KEY"
TARGET_REPO: "ssh://git@gitrepo:22/git-server/repos/language-examples.git"
BRANCH_NAME: "feature/r2d2"
TIMEZONE: Europe/Berlin
depends_on:
- gitrepo
- sut
xtext:
image: testeditor/xtext:snapshot
ports:
- "8080:8080"
environment:
ADD_KNOWN_HOSTS_DOMAIN: "gitrepo:22"
GIT_PRIVATE_KEY: "$GIT_PRIVATE_KEY"
TARGET_REPO: "ssh://git@gitrepo:22/git-server/repos/language-examples.git"
BRANCH_NAME: "feature/r2d2"
TIMEZONE: Europe/Berlin
depends_on:
- gitrepo
command: [ "./wait-for-it.sh", "gitrepo:22", "--", "./run.ssh" ]
web:
image: testeditor/web:snapshot
ports:
- "4200:4200"
depends_on:
- persistence
- xtext