-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose-perf.yml
43 lines (40 loc) · 1.16 KB
/
docker-compose-perf.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
services:
wiremock:
image: wiremock/wiremock:3.10.0
ports:
- '8081:8080'
volumes:
- ./src/gatling/resources/wiremock/mappings:/home/wiremock/mappings
- ./src/gatling/resources/wiremock/responses:/home/wiremock/__files
environment:
WIREMOCK_OPTIONS: '--global-response-templating'
healthcheck:
test: ["CMD", "wget", "-q", "-O", "-", "http://localhost:8080/__admin/version"]
interval: 2s
timeout: 60s
retries: 30
artifactory-badge:
image: devatherock/artifactory-badge:${DOCKER_TAG:-latest}
container_name: artifactory-badge-perf
depends_on:
- wiremock
ports:
- '8080:8080'
volumes:
- ./src/gatling/resources/application-perf.yml:/config/application.yml
environment:
MICRONAUT_CONFIG_FILES: '/config/application.yml'
health:
image: alpine:3.21.0
depends_on:
- artifactory-badge
healthcheck:
test: ["CMD", "wget", "-q", "-O", "-", "http://artifactory-badge:8080/health"]
interval: 2s
timeout: 60s
retries: 30
command: |
sh -c '
wget -q -O - http://artifactory-badge:8080/health
sleep 120
'