-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-core.yml
More file actions
55 lines (48 loc) · 1.72 KB
/
Copy pathdocker-compose-core.yml
File metadata and controls
55 lines (48 loc) · 1.72 KB
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
version: '3.8'
services:
autotest-example:
container_name: autotest-example
image: gradle:8.14.2-jdk17
working_dir: /app
environment:
- TZ=Europe/Kiev
- JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8
# - JAVA_TOOL_OPTIONS=-DbugreaperEnv=ci
volumes:
- .:/app # or like this ${CI_PROJECT_DIR}:/app
command: sh -c "gradle clean :java-test-core:test"
# for local presentation OLD DEPRECATED server
allure-server:
container_name: allure-server
image: kochetkovma/allure-server:2.11.5
ports:
- "8080:8080"
environment:
TZ: "Europe/Kiev"
profiles: ["allure"]
# for local presentation #2
allure-api:
image: frankescobar/allure-docker-service:2.27.0
container_name: allure-api
environment:
- CHECK_RESULTS_EVERY_SECONDS=NONE # NONE = Disables continuous generator execution (generation will be triggered via API/UI)
- KEEP_HISTORY=1 # Essential for preserving test history and trends
- KEEP_HISTORY_LATEST=20 # How many recent reports to keep in the history
- SECURITY_ENABLED=0 # We are disabling security so that the API accepts files without passwords.
ports:
- "5050:5050"
# if mount volume and set CHECK_RESULTS_EVERY_SECONDS reports will generate automatically
# volumes:
# - ./java-test-core/my-build/allure-results:/app/allure-results:ro
restart: unless-stopped
allure-ui:
image: frankescobar/allure-docker-service-ui:7.0.3
container_name: allure-ui
environment:
ALLURE_DOCKER_PUBLIC_API_URL: http://localhost:5050
ALLURE_DOCKER_PUBLIC_API_URL_PREFIX: ""
ports:
- "5252:5252"
depends_on:
- allure-api
restart: unless-stopped