To run the server locally, first run gen_local_test_certs.sh
, and then run the
commands
docker build . -t ndt-server
and
docker run --net=host -v `pwd`:/certs -it -t ndt-server \
-cert /certs/cert.pem -key /certs/key.pem
Once you have done that, you should have a server running on port 3010 on localhost with metrics available on port 9090.
Try running a test in your browser (certs will appear invalid to your browser, but everything is safe because it's running locally):