forked from dalogax/backendDevTest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
44 lines (44 loc) · 964 Bytes
/
docker-compose.yaml
File metadata and controls
44 lines (44 loc) · 964 Bytes
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
version: "3.3"
services:
app:
build: .
ports:
- "8080:8080"
environment:
- EXTERNAL_API_BASE_URL=http://simulado:80
depends_on:
- simulado
influxdb:
image: influxdb:1.8.2
ports:
- "8086:8086"
environment:
- INFLUXDB_DB=k6
grafana:
image: grafana/grafana:8.1.2
ports:
- "3000:3000"
environment:
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_BASIC_ENABLED=false
volumes:
- ./shared/grafana:/etc/grafana/provisioning/
simulado:
image: ldabiralai/simulado:latest
ports:
- "3001:80"
volumes:
- ./shared/simulado:/app
command: ./bin/simulado -f /app/mocks.json
k6:
image: loadimpact/k6:0.28.0
ports:
- "6565:6565"
volumes:
- ./shared/k6:/scripts
environment:
- K6_OUT=influxdb=http://influxdb:8086/k6
- APP_HOST=http://app:8080
depends_on:
- app