-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (38 loc) · 914 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (38 loc) · 914 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
---
version: '2.1'
services:
tarantool:
image: docker-public.binary.picodata.io/sbroad-builder:0.12.0
command: bash -c "cd /sbroad && make start && make stress_init test=${test} && touch /etc/OK && sleep infinity"
volumes:
- "${PWD}:/sbroad"
healthcheck:
test: ["CMD-SHELL", "cat /etc/OK"]
interval: 30s
timeout: 10s
retries: 20
environment:
- test=${test}
k6:
image: docker-public.binary.picodata.io/k6_tnt:latest
command:
- k6
- run
- -u
- "10"
- -d
- "1m"
- -e
- HOST=tarantool
- /stress-test/${test}/k6.js
- --summary-export
- /stress-test/${test}/k6_summary.json
volumes:
- "${PWD}/sbroad-cartridge/stress-test/:/stress-test/"
depends_on:
tarantool:
condition: service_healthy
environment:
- test=${test}
networks:
default: