Skip to content

Commit 8e380dc

Browse files
committed
Update docker-compose.yml
1 parent ea66128 commit 8e380dc

File tree

1 file changed

+5
-12
lines changed

1 file changed

+5
-12
lines changed

docker-compose.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ services:
2222
environment:
2323
DATABASE_URL: Host=db;Username=postgres;Password=postgres;Database=rinha;Minimum Pool Size=10;Maximum Pool Size=10;Multiplexing=true;
2424
ports:
25-
- "5000:8080"
25+
- "5010:8080"
2626
deploy:
2727
resources:
2828
limits:
@@ -36,7 +36,7 @@ services:
3636
hostname: webapi2-dotnet
3737
container_name: webapi-2-dotnet
3838
ports:
39-
- "5001:8080"
39+
- "5011:8080"
4040

4141
db:
4242
image: postgres
@@ -144,29 +144,22 @@ services:
144144
- network-bora-dale-xgh-dotnet
145145

146146
k6:
147-
# image: grafana/k6
148-
build:
149-
context: ./test/
150-
dockerfile: ./stress-test/Dockerfile
147+
image: jonathanperis/rinha2-back-end-bora-dale-xgh-k6:latest
151148
container_name: k6
152149
environment:
150+
# Set MODE=dev to export data via xk6-influxdb, or MODE=prod to generate an HTML report.
151+
- MODE=dev
153152
- BASE_URL=http://nginx:9999
154153
- K6_WEB_DASHBOARD=true
155154
- K6_INFLUXDB_ADDR=http://influxdb:8086
156155
- K6_INFLUXDB_ORGANIZATION=rinha
157156
- K6_INFLUXDB_BUCKET=demo
158157
- K6_INFLUXDB_INSECURE=true
159158
- K6_INFLUXDB_TOKEN=EEKpryGZk8pVDXmIuy484BKUxM5jOEDv7YNoeNZUbsNbpbPbP6kK_qY9Zsyw7zNnlZ7pHG16FYzNaqwLMBUz8g==
160-
volumes:
161-
- "./test/stress-test:/app"
162-
working_dir: /app
163-
tty: true
164-
stdin_open: true
165159
depends_on:
166160
- nginx
167161
- grafana
168162
- influxdb
169-
entrypoint: ["/bin/sh", "/app/run-rinha-test.sh"]
170163
ports:
171164
- "5665:5665"
172165
networks:

0 commit comments

Comments
 (0)