Quick question:
I want to run my k6 tests in our CI/CD Build, we don’t use the cloud we just want the docker container to have k6 so it can run the tests we have implemented, this way developers can run the tests locally as well without installing k6.
we run docker using dockerfile, dockercompose and Make in our builds.
All examples of docker I can find are integrated with other things influxdb and grafana.
Does anyone have a simple docker compose yml that I can look at without that stuff?
I saw that information, and it is helpful but we run docker using dockerfile, dockercompose and Make in our builds. That is why I am looking for a plain jane docker-compose.yml. I guess I just need to know what ports are used and need to be open.
Unless you want to use the k6 REST API, you don’t need to have a port open (and if you do, it’s 6565 by default, configurable with the --address CLI flag). I am not sure why exactly you want to use docker-compose instead of plain docker run, though I guess defining volumes for your scripts might help.