Skip to content

Commit ea66128

Browse files
committed
Update docker-compose.yml
1 parent 49feac2 commit ea66128

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

prod/docker-compose.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -70,21 +70,17 @@ services:
7070
memory: "20MB"
7171

7272
k6:
73-
image: grafana/k6
73+
image: jonathanperis/rinha2-back-end-bora-dale-xgh-k6:latest
7474
container_name: k6
75-
user: root
7675
environment:
76+
# Set MODE=dev to export data via xk6-influxdb, or MODE=prod to generate an HTML report.
77+
- MODE=prod
7778
- BASE_URL=http://nginx:9999
7879
- K6_WEB_DASHBOARD=true
7980
- K6_WEB_DASHBOARD_EXPORT=./reports/stress-test-report.html
8081
volumes:
81-
- "./conf/stress-test:/app"
82-
- "./conf/stress-test/reports:/app/reports"
83-
working_dir: /app
84-
tty: true
85-
stdin_open: true
82+
- "./conf/stress-test/reports:/app/reports"
8683
depends_on:
87-
- nginx
88-
entrypoint: ["/bin/sh", "/app/run-rinha-test.sh"]
84+
- nginx
8985
ports:
9086
- "5665:5665"

0 commit comments

Comments
 (0)