79e0085fb3
new compose and dockerfile * new compose and dockerfile * add task docker:build:debug * update readme * Merged main into feature/debug-queryapi
Deployments
Note about host service testing
If you want the docker prometheus in this stack to pull from your
locally running service on localhost:8080 then edit the
compose.local.yaml and change the reference from
./prometheus.allmetrics.yaml:/etc/prometheus/prometheus.yml
to ./prometheus.localservice.yaml:/etc/prometheus/prometheus.yml
Local
When running task compose:up:local prometheus will be available on
http://localhost:9090
When running task compose:up prometheus will be available on
http://localhost:9091
To see which target services are being scraped by prometheus you can go to http:// localhost: [port] /targets
Local with service on host
If you need to run a service directly on the host for debugging then use
task compose:up:test and then run the service like
PGPORT=5430 go run ./cmd/queryAPI