docker-compose -p k6 up build promtail
For production build, set watch to false in webpack.config.js
docker-compose -p logs -f docker-compose-log.yaml up
TEST=transaction-history SCENARIOS=ramp LOG_FILE=$(date +%F_%H-%M-%S) docker-compose -p k6 up --force-recreate --build k6
Here,
TEST
is the name of the test file without the extensionSCENARIOS
is the name of the scenario, mention multiple scenarios separated by commaLOG_FILE
is the prefix of the log file
All of the containers run in host network mode, so you can access the services directly from your host machine.